Take pad clearance into account in intersection detection during pcbnew zone filling.
This commit is contained in:
parent
e6dd5128fa
commit
eaf4919ef8
|
@ -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