Zones cleared in the legacy canvas are not refilled on modification in GAL.
This commit is contained in:
parent
80885a4635
commit
6f8b02c726
|
@ -649,7 +649,7 @@ void PCB_EDIT_FRAME::Process_Special_Functions( wxCommandEvent& event )
|
||||||
{
|
{
|
||||||
// Remove filled areas in zone
|
// Remove filled areas in zone
|
||||||
ZONE_CONTAINER* zone_container = GetBoard()->GetArea( ii );
|
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
|
SetCurItem( NULL ); // CurItem might be deleted by this command, clear the pointer
|
||||||
|
|
Loading…
Reference in New Issue