diff --git a/ChangeLog.txt b/ChangeLog.txt index f04a79ba6..9139249be 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -9,6 +9,7 @@ - Puzzle app. Fix reading a piece name. - Fix warning while segmenting flipped arc. - Tape app. "Export from existing ..." now supports multisize measurements. +- Fix main path validation. False positive double curve. # Valentina 0.7.51 April 18, 2022 - Z value change for a layout piece. diff --git a/src/libs/vtools/dialogs/dialogtoolbox.cpp b/src/libs/vtools/dialogs/dialogtoolbox.cpp index f426c5840..99b6ff136 100644 --- a/src/libs/vtools/dialogs/dialogtoolbox.cpp +++ b/src/libs/vtools/dialogs/dialogtoolbox.cpp @@ -146,8 +146,9 @@ auto DoubleCurve(const VPieceNode &firstNode, const VPieceNode &secondNode, cons } // The same curve, but different modeling objects - if (curve1->getIdObject() != NULL_ID && curve2->getIdObject() != NULL_ID && - curve1->getIdObject() == curve2->getIdObject()) + if (curve1->getMode() == Draw::Modeling && curve2->getMode() == Draw::Modeling && + curve1->getIdObject() != NULL_ID && curve2->getIdObject() != NULL_ID && + curve1->getIdObject() == curve2->getIdObject()) { error = QObject::tr("Leave only one copy of curve '%1'").arg(curve1->name()); return true;