Update zones when DRC is launched (GAL).
This commit is contained in:
parent
ac6a90afa3
commit
a43a288e10
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue