Fix for method InsideContour.
--HG-- branch : feature
This commit is contained in:
parent
120f4cf565
commit
366519781b
|
@ -599,8 +599,6 @@ VLayoutPaper::InsideType VLayoutPaper::InsideContour(const VLayoutDetail &detail
|
||||||
|
|
||||||
const QVector<QPointF> p = Triplet(detailEdge);
|
const QVector<QPointF> p = Triplet(detailEdge);
|
||||||
for (int n=0; n<p.size(); ++n )
|
for (int n=0; n<p.size(); ++n )
|
||||||
{
|
|
||||||
if (p.at(n) != detailEdge.p1() && p.at(n) != detailEdge.p2())
|
|
||||||
{
|
{
|
||||||
int j = polyCorners-1;
|
int j = polyCorners-1;
|
||||||
bool oddNodes = false;
|
bool oddNodes = false;
|
||||||
|
@ -625,7 +623,6 @@ VLayoutPaper::InsideType VLayoutPaper::InsideContour(const VLayoutDetail &detail
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return InsideType::Outside;
|
return InsideType::Outside;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user