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:
Jeff Young 2023-12-02 20:15:43 +00:00
parent a46501b279
commit 69a1a4611b
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ int ZONE_FILLER_TOOL::ZoneFillDirty( const TOOL_EVENT& aEvent )
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 );
}