Commit 0cb7b848 authored by jean-pierre charras's avatar jean-pierre charras

Pcbnew: Fix Bug #1096766 ( Can't create filled zones after keepout zones)

parent 2dd5bcea
......@@ -580,10 +580,14 @@ int PCB_EDIT_FRAME::Begin_Zone( wxDC* DC )
edited = InvokeKeepoutAreaEditor( this, &zoneInfo );
}
else
{
zoneInfo.SetIsKeepout( false );
edited = InvokeCopperZonesEditor( this, &zoneInfo );
}
}
else // Put a zone on a non copper layer (technical layer)
{
zoneInfo.SetIsKeepout( false );
zoneInfo.m_NetcodeSelection = 0; // No net for non copper zones
edited = InvokeNonCopperZonesEditor( this, zone, &zoneInfo );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment