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

This commit is contained in:
Maciej Suminski 2015-07-15 14:08:50 +02:00
parent 80885a4635
commit 6f8b02c726
1 changed files with 1 additions and 1 deletions

View File

@ -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