Fix main path validation. False positive double curve.
This commit is contained in:
parent
b4462395e1
commit
f020a806d4
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user