Fix an assert in isCopperOutside.

(cherry picked from commit dfd8aa402d)
This commit is contained in:
Alex Shvartzkop 2024-05-18 22:50:05 +03:00
parent e00219f459
commit 3f704cb1f1
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 );