Fix an assert in isCopperOutside.

This commit is contained in:
Alex Shvartzkop 2024-05-18 22:50:05 +03:00
parent 5b1c84b5dd
commit dfd8aa402d
1 changed files with 2 additions and 0 deletions

View File

@ -159,6 +159,8 @@ static bool isCopperOutside( const FOOTPRINT* aFootprint, SHAPE_POLY_SET& aShape
{
SHAPE_POLY_SET poly = aShape.CloneDropTriangulation();
poly.ClearArcs();
poly.BooleanIntersection( *pad->GetEffectivePolygon( ERROR_INSIDE ),
SHAPE_POLY_SET::PM_FAST );