Fix seam allowance bug. Speacial "dart" case.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2016-11-16 11:16:16 +02:00
parent 98dad0fb72
commit cf5afffd60

View File

@ -437,11 +437,14 @@ QVector<QPointF> VAbstractPiece::EkvPoint(const VSAPoint &p1Line1, const VSAPoin
QPointF px;
const QLineF::IntersectType type = bigEdge.intersect(line, &px);
if (type != QLineF::BoundedIntersection)
{
if (line.length() < QLineF(p2Line1, px).length())
{
points.append(CrosPoint);
return points;
}
}
}
else
{
const QLineF bigEdge = ParallelLine(bigLine1.p2(), bigLine2.p1(), localWidth );