Take pad clearance into account in intersection detection during pcbnew zone filling.

This commit is contained in:
Marco Mattila 2012-08-31 21:43:09 +03:00
parent e6dd5128fa
commit eaf4919ef8
1 changed files with 1 additions and 0 deletions

View File

@ -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 ) )
{