Fix an assert in isCopperOutside.
(cherry picked from commit dfd8aa402d
)
This commit is contained in:
parent
e00219f459
commit
3f704cb1f1
|
@ -159,6 +159,8 @@ static bool isCopperOutside( const FOOTPRINT* aFootprint, SHAPE_POLY_SET& aShape
|
||||||
{
|
{
|
||||||
SHAPE_POLY_SET poly = aShape.CloneDropTriangulation();
|
SHAPE_POLY_SET poly = aShape.CloneDropTriangulation();
|
||||||
|
|
||||||
|
poly.ClearArcs();
|
||||||
|
|
||||||
poly.BooleanIntersection( *pad->GetEffectivePolygon( ERROR_INSIDE ),
|
poly.BooleanIntersection( *pad->GetEffectivePolygon( ERROR_INSIDE ),
|
||||||
SHAPE_POLY_SET::PM_FAST );
|
SHAPE_POLY_SET::PM_FAST );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue