diff --git a/pcbnew/tools/point_editor.cpp b/pcbnew/tools/point_editor.cpp index bcd0971099..5239ca9fe6 100644 --- a/pcbnew/tools/point_editor.cpp +++ b/pcbnew/tools/point_editor.cpp @@ -639,8 +639,17 @@ void POINT_EDITOR::finishItem() if( zone->IsFilled() && m_refill ) { ZONE_FILLER filler( board() ); + // A progress reporter can be usefull. However it works fine only on Windows + // so enable it only on Windows. + // On Linux, the filled areas are incorrectly shown: the insulated islands + // remain displayed, although they are removed from the actual filled areas list + // + // Fix me: try to make it working on Linux. + // + #ifdef __WINDOWS__ WX_PROGRESS_REPORTER reporter( getEditFrame(), _( "Refill Zones" ), 4 ); filler.SetProgressReporter( &reporter ); + #endif filler.Fill( { zone } ); } }