Wrong rule for check true intersection.
--HG-- branch : feature
This commit is contained in:
parent
c191059ddd
commit
2937a9e594
|
@ -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);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user