Fill empty zones when auto-fill is on.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16234
(cherry picked from commit 1618beba2c
)
This commit is contained in:
parent
a46501b279
commit
69a1a4611b
|
@ -197,7 +197,7 @@ int ZONE_FILLER_TOOL::ZoneFillDirty( const TOOL_EVENT& aEvent )
|
||||||
|
|
||||||
for( ZONE* zone : board()->Zones() )
|
for( ZONE* zone : board()->Zones() )
|
||||||
{
|
{
|
||||||
if( m_dirtyZoneIDs.count( zone->m_Uuid ) )
|
if( !zone->IsFilled() || m_dirtyZoneIDs.count( zone->m_Uuid ) )
|
||||||
toFill.push_back( zone );
|
toFill.push_back( zone );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue