Fill empty zones when auto-fill is on.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16234
This commit is contained in:
Jeff Young 2023-12-02 20:15:43 +00:00
parent 6e245d5eb4
commit 1618beba2c
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,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 );
}