From 6f8b02c72657e6627bca01bd5c49eb38b1fdb388 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Wed, 15 Jul 2015 14:08:50 +0200 Subject: [PATCH] Zones cleared in the legacy canvas are not refilled on modification in GAL. --- pcbnew/edit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/edit.cpp b/pcbnew/edit.cpp index c4cf58a12a..bb212ea502 100644 --- a/pcbnew/edit.cpp +++ b/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