mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 14:51:41 +00:00
Use old algorithm when allow-external-fillets is on.
Otherwise we'll trim them off. Fixes https://gitlab.com/kicad/code/kicad/-/issues/19121
This commit is contained in:
parent
04d7bcc45e
commit
ce20689caf
@ -1506,7 +1506,9 @@ bool ZONE::BuildSmoothedPoly( SHAPE_POLY_SET& aSmoothedPoly, PCB_LAYER_ID aLayer
|
||||
// envelope.
|
||||
SHAPE_POLY_SET poly = maxExtents->CloneDropTriangulation();
|
||||
poly.Inflate( m_ZoneMinThickness, CORNER_STRATEGY::ROUND_ALL_CORNERS, maxError );
|
||||
poly.BooleanIntersection( withSameNetIntersectingZones, SHAPE_POLY_SET::PM_FAST );
|
||||
|
||||
if( !keepExternalFillets )
|
||||
poly.BooleanIntersection( withSameNetIntersectingZones, SHAPE_POLY_SET::PM_FAST );
|
||||
|
||||
*aSmoothedPolyWithApron = aSmoothedPoly;
|
||||
aSmoothedPolyWithApron->BooleanIntersection( poly, SHAPE_POLY_SET::PM_FAST );
|
||||
|
Loading…
Reference in New Issue
Block a user