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

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