|
|
@ -1,7 +1,7 @@ |
|
|
/*
|
|
|
/*
|
|
|
* This program source code file is part of KiCad, a free EDA CAD application. |
|
|
* This program source code file is part of KiCad, a free EDA CAD application. |
|
|
* |
|
|
* |
|
|
* Copyright (C) 2013-2018 CERN |
|
|
|
|
|
|
|
|
* Copyright (C) 2013-2019 CERN |
|
|
* @author Maciej Suminski <maciej.suminski@cern.ch> |
|
|
* @author Maciej Suminski <maciej.suminski@cern.ch> |
|
|
* |
|
|
* |
|
|
* This program is free software; you can redistribute it and/or |
|
|
* This program is free software; you can redistribute it and/or |
|
|
@ -46,6 +46,7 @@ using namespace std::placeholders; |
|
|
#include <class_board.h>
|
|
|
#include <class_board.h>
|
|
|
#include <class_module.h>
|
|
|
#include <class_module.h>
|
|
|
#include <connectivity/connectivity_data.h>
|
|
|
#include <connectivity/connectivity_data.h>
|
|
|
|
|
|
#include <widgets/progress_reporter.h>
|
|
|
|
|
|
|
|
|
#include "zone_filler.h"
|
|
|
#include "zone_filler.h"
|
|
|
|
|
|
|
|
|
@ -638,6 +639,8 @@ void POINT_EDITOR::finishItem() |
|
|
if( zone->IsFilled() && m_refill ) |
|
|
if( zone->IsFilled() && m_refill ) |
|
|
{ |
|
|
{ |
|
|
ZONE_FILLER filler( board() ); |
|
|
ZONE_FILLER filler( board() ); |
|
|
|
|
|
WX_PROGRESS_REPORTER reporter( getEditFrame<PCB_BASE_FRAME>(), _( "Refill Zones" ), 4 ); |
|
|
|
|
|
filler.SetProgressReporter( &reporter ); |
|
|
filler.Fill( { zone } ); |
|
|
filler.Fill( { zone } ); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|