Browse Source

Fill empty zones when auto-fill is on.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/16234
newinvert
Jeff Young 2 years ago
parent
commit
1618beba2c
  1. 2
      pcbnew/tools/zone_filler_tool.cpp

2
pcbnew/tools/zone_filler_tool.cpp

@ -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…
Cancel
Save