PCB_CONTROL::unfilledZoneCheck(): skip rule areas: they are not filled by definition.

Fixes #10691
https://gitlab.com/kicad/code/kicad/issues/10691
This commit is contained in:
jean-pierre charras 2022-01-31 16:25:20 +01:00
parent 4c4089e836
commit f846f6f704
1 changed files with 2 additions and 2 deletions

View File

@ -191,7 +191,7 @@ void PCB_CONTROL::unfilledZoneCheck()
for( const ZONE* zone : board()->Zones() ) for( const ZONE* zone : board()->Zones() )
{ {
if( !zone->IsFilled() ) if( !zone->GetIsRuleArea() && !zone->IsFilled() )
{ {
unfilledZones = true; unfilledZones = true;
break; break;
@ -219,7 +219,7 @@ void PCB_CONTROL::unfilledZoneCheck()
"if you wish to see all fills." ), "if you wish to see all fills." ),
KeyNameFromKeyCode( PCB_ACTIONS::zoneFillAll.GetHotKey() ) ); KeyNameFromKeyCode( PCB_ACTIONS::zoneFillAll.GetHotKey() ) );
infobar->ShowMessageFor( msg, 10000, wxICON_WARNING ); infobar->ShowMessageFor( msg, 5000, wxICON_WARNING );
} }
} }