Fill empty zones when auto-fill is on.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/16234
This commit is contained in:
parent
6e245d5eb4
commit
1618beba2c
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue