Pcbnew: disable commit 3692c511 on non Windows platforms A zone refill display progress bar is shown when deselecting the zone after geometry changes. However, on Linux, there are some artifact between the progress bar refresh and the board view refresh: the filled areas are incorrectly shown: the insulated islands remain displayed, although they are removed from the actual filled areas list So it is disabled until a fix is found.

This commit is contained in:
jean-pierre charras 2019-03-17 08:31:00 +01:00
parent c93e0b6c5e
commit 702e85cd96
1 changed files with 9 additions and 0 deletions

View File

@ -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<PCB_BASE_FRAME>(), _( "Refill Zones" ), 4 );
filler.SetProgressReporter( &reporter );
#endif
filler.Fill( { zone } );
}
}