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
|
// The same point, but different modeling objects
|
||||||
if (firstPoint->getIdObject() != NULL_ID && secondPoint->getIdObject() != NULL_ID &&
|
if (firstPoint->getIdObject() != NULL_ID && secondPoint->getIdObject() != NULL_ID &&
|
||||||
|
firstPoint->getMode() == Draw::Modeling && secondPoint->getMode() == Draw::Modeling &&
|
||||||
firstPoint->getIdObject() == secondPoint->getIdObject())
|
firstPoint->getIdObject() == secondPoint->getIdObject())
|
||||||
{
|
{
|
||||||
error = QObject::tr("Point '%1' repeats twice").arg(firstPoint->name());
|
error = QObject::tr("Point '%1' repeats twice").arg(firstPoint->name());
|
||||||
|
|
Loading…
Reference in New Issue
Block a user