Clear arcs before deflating area outline.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/15007
This commit is contained in:
parent
8c29091001
commit
4473ebb02d
|
@ -413,6 +413,7 @@ bool collidesWithArea( BOARD_ITEM* aItem, PCB_EXPR_CONTEXT* aCtx, ZONE* aArea )
|
|||
// This is particularly important for detecting copper fills as they will be exactly
|
||||
// touching along the entire exclusion border.
|
||||
SHAPE_POLY_SET areaOutline = aArea->Outline()->CloneDropTriangulation();
|
||||
areaOutline.ClearArcs();
|
||||
areaOutline.Deflate( board->GetDesignSettings().GetDRCEpsilon(),
|
||||
SHAPE_POLY_SET::ALLOW_ACUTE_CORNERS, ARC_LOW_DEF );
|
||||
|
||||
|
|
Loading…
Reference in New Issue