Wrong rule for check true intersection.

--HG--
branch : feature
This commit is contained in:
dismine 2015-01-18 22:21:20 +02:00
parent c191059ddd
commit 2937a9e594

View file

@ -1021,7 +1021,7 @@ bool VLayoutPaper::TrueIntersection(const QLineF &gEdge, const QLineF &dEdge, co
const QPointF gP2 = RoundedPoint(gEdge.p2());
const QPointF dP1 = RoundedPoint(dEdge.p1());
const QPointF dP2 = RoundedPoint(dEdge.p2());
return pX != gP1 && pX != gP2 && pX != dP1 && pX != dP2;
return !(pX == gP1 || pX == gP2 || pX == dP1 || pX == dP2);
}
//---------------------------------------------------------------------------------------------------------------------