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.
|
- Puzzle app. Fix reading a piece name.
|
||||||
- Fix warning while segmenting flipped arc.
|
- Fix warning while segmenting flipped arc.
|
||||||
- Tape app. "Export from existing ..." now supports multisize measurements.
|
- Tape app. "Export from existing ..." now supports multisize measurements.
|
||||||
|
- Fix main path validation. False positive double curve.
|
||||||
|
|
||||||
# Valentina 0.7.51 April 18, 2022
|
# Valentina 0.7.51 April 18, 2022
|
||||||
- Z value change for a layout piece.
|
- 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
|
// The same curve, but different modeling objects
|
||||||
if (curve1->getIdObject() != NULL_ID && curve2->getIdObject() != NULL_ID &&
|
if (curve1->getMode() == Draw::Modeling && curve2->getMode() == Draw::Modeling &&
|
||||||
curve1->getIdObject() == curve2->getIdObject())
|
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());
|
error = QObject::tr("Leave only one copy of curve '%1'").arg(curve1->name());
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user