diff --git a/src/libs/vpatterndb/vpiece.cpp b/src/libs/vpatterndb/vpiece.cpp index fb08f8578..31096bab3 100644 --- a/src/libs/vpatterndb/vpiece.cpp +++ b/src/libs/vpatterndb/vpiece.cpp @@ -316,6 +316,16 @@ bool FixNotchPoint(const QVector &seamAllowance, const QPointF ¬chBa } } } + else + { // Fixing distortion + QLineF axis = QLineF(notchBase, *notch); + axis.setLength(axis.length() + accuracyPointOnLine * 10); + const QVector points = VAbstractCurve::CurveIntersectLine(seamAllowance, axis); + if (points.size() == 1) + { + *notch = points.first(); + } + } return fixed; }