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
4c4089e836
commit
f846f6f704
|
@ -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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue