Pcbnew, zones filler: fix a bug I introduced in my commit b1803bc.

This commit is contained in:
jean-pierre charras 2019-06-22 16:41:20 +02:00
parent b1803bcf02
commit c8c318510e
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ bool ZONE_FILLER::Fill( const std::vector<ZONE_CONTAINER*>& aZones, bool aCheck
// A filled area outside the board cutouts has all points outside cutouts,
// so we only need to check one point for each filled polygon.
// Note also non copper zones are already clipped
else if( m_brdOutlinesValid && !zone.m_zone->IsOnCopperLayer() )
else if( m_brdOutlinesValid && zone.m_zone->IsOnCopperLayer() )
{
for( int idx = 0; idx < poly.OutlineCount(); )
{