Browse Source

Zones cleared in the legacy canvas are not refilled on modification in GAL.

pull/5/head
Maciej Suminski 11 years ago
parent
commit
6f8b02c726
  1. 2
      pcbnew/edit.cpp

2
pcbnew/edit.cpp

@ -649,7 +649,7 @@ void PCB_EDIT_FRAME::Process_Special_Functions( wxCommandEvent& event )
{
// Remove filled areas in zone
ZONE_CONTAINER* zone_container = GetBoard()->GetArea( ii );
zone_container->ClearFilledPolysList();
zone_container->UnFill();
}
SetCurItem( NULL ); // CurItem might be deleted by this command, clear the pointer

Loading…
Cancel
Save