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:
parent
70d00689ca
commit
42dfdf8c38
|
@ -201,7 +201,7 @@ void PCB_CONTROL::unfilledZoneCheck()
|
|||
|
||||
for( const ZONE* zone : board()->Zones() )
|
||||
{
|
||||
if( !zone->IsFilled() )
|
||||
if( !zone->GetIsRuleArea() && !zone->IsFilled() )
|
||||
{
|
||||
unfilledZones = true;
|
||||
break;
|
||||
|
@ -229,7 +229,7 @@ void PCB_CONTROL::unfilledZoneCheck()
|
|||
"if you wish to see all fills." ),
|
||||
KeyNameFromKeyCode( PCB_ACTIONS::zoneFillAll.GetHotKey() ) );
|
||||
|
||||
infobar->ShowMessageFor( msg, 10000, wxICON_WARNING );
|
||||
infobar->ShowMessageFor( msg, 5000, wxICON_WARNING );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue