From a43a288e109e909b5cbebfbabc3d340b40b57c35 Mon Sep 17 00:00:00 2001 From: Maciej Suminski Date: Fri, 26 Jun 2015 17:30:04 +0200 Subject: [PATCH] Update zones when DRC is launched (GAL). --- pcbnew/zones_by_polygon_fill_functions.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pcbnew/zones_by_polygon_fill_functions.cpp b/pcbnew/zones_by_polygon_fill_functions.cpp index ca1155a2fd..023fb641d4 100644 --- a/pcbnew/zones_by_polygon_fill_functions.cpp +++ b/pcbnew/zones_by_polygon_fill_functions.cpp @@ -31,6 +31,8 @@ #include #include #include +#include +#include #include #include @@ -113,6 +115,8 @@ int PCB_EDIT_FRAME::Fill_Zone( ZONE_CONTAINER* aZone ) wxBusyCursor dummy; // Shows an hourglass cursor (removed by its destructor) aZone->BuildFilledSolidAreasPolygons( GetBoard() ); + aZone->ViewUpdate( KIGFX::VIEW_ITEM::ALL ); + GetBoard()->GetRatsnest()->Update( aZone ); OnModify();