New debugging section.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-08-06 16:38:32 +03:00
parent a667fdce1c
commit 04af0170ff

View File

@ -285,6 +285,15 @@ QPainterPath VPiece::SeamAllowancePath(const QVector<QPointF> &points) const
ekv.lineTo(points.at(i)); ekv.lineTo(points.at(i));
} }
#if !defined(V_NO_ASSERT)
// uncomment for debug
// for (qint32 i = 0; i < points.count(); ++i)
// {
// ekv.addEllipse(points.at(i).x()-accuracyPointOnLine, points.at(i).y()-accuracyPointOnLine,
// accuracyPointOnLine*2., accuracyPointOnLine*2.);
// }
#endif
ekv.setFillRule(Qt::WindingFill); ekv.setFillRule(Qt::WindingFill);
} }
} }