mirror of
https://gitlab.com/smart-pattern/valentina.git
synced 2024-09-28 19:31:32 +02:00
Improve error in check point uniqueness check.
This commit is contained in:
parent
2d91455ed5
commit
f97c18c923
|
@ -92,6 +92,7 @@ auto DoublePoint(const VPieceNode &firstNode, const VPieceNode &secondNode, cons
|
|||
|
||||
// The same point, but different modeling objects
|
||||
if (firstPoint->getIdObject() != NULL_ID && secondPoint->getIdObject() != NULL_ID &&
|
||||
firstPoint->getMode() == Draw::Modeling && secondPoint->getMode() == Draw::Modeling &&
|
||||
firstPoint->getIdObject() == secondPoint->getIdObject())
|
||||
{
|
||||
error = QObject::tr("Point '%1' repeats twice").arg(firstPoint->name());
|
||||
|
|
Loading…
Reference in a new issue