Update zones when DRC is launched (GAL).

This commit is contained in:
Maciej Suminski 2015-06-26 17:30:04 +02:00
parent ac6a90afa3
commit a43a288e10
1 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,8 @@
#include <fctsys.h>
#include <pgm_base.h>
#include <class_drawpanel.h>
#include <class_draw_panel_gal.h>
#include <ratsnest_data.h>
#include <wxPcbStruct.h>
#include <macros.h>
@ -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();