First tests about copper zones filled by polygons, without grid (see changelog)

Only for tests! not for production.
This commit is contained in:
charras 2008-10-02 13:41:03 +00:00
parent 4cccb0dd7e
commit 5f5dbe8dd5
1 changed files with 4 additions and 0 deletions

View File

@ -82,6 +82,8 @@ void ZONE_CONTAINER::AddClearanceAreasPolygonsToPolysList( BOARD* aPcb )
{ {
if( !pad->IsOnLayer( GetLayer() ) ) if( !pad->IsOnLayer( GetLayer() ) )
continue; continue;
if ( pad->GetNet() == GetNet() )
continue;
AddPadWithClearancePolygon( booleng, *pad, m_ZoneClearance, AddPadWithClearancePolygon( booleng, *pad, m_ZoneClearance,
false, 0 ); false, 0 );
} }
@ -95,6 +97,8 @@ void ZONE_CONTAINER::AddClearanceAreasPolygonsToPolysList( BOARD* aPcb )
{ {
if( !track->IsOnLayer( GetLayer() ) ) if( !track->IsOnLayer( GetLayer() ) )
continue; continue;
if ( track->GetNet() == GetNet() )
continue;
AddTrackWithClearancePolygon( booleng, *track, m_ZoneClearance ); AddTrackWithClearancePolygon( booleng, *track, m_ZoneClearance );
} }