Take pad clearance into account in intersection detection during pcbnew zone filling.
This commit is contained in:
parent
a63a62f827
commit
bb73777a4a
|
@ -232,6 +232,7 @@ void ZONE_CONTAINER::AddClearanceAreasPolygonsToPolysList( BOARD* aPcb )
|
|||
{
|
||||
item_clearance = pad->GetClearance() + margin;
|
||||
item_boundingbox = pad->GetBoundingBox();
|
||||
item_boundingbox.Inflate( item_clearance );
|
||||
|
||||
if( item_boundingbox.Intersects( zone_boundingbox ) )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue