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:
parent
c93e0b6c5e
commit
702e85cd96
|
@ -639,8 +639,17 @@ void POINT_EDITOR::finishItem()
|
||||||
if( zone->IsFilled() && m_refill )
|
if( zone->IsFilled() && m_refill )
|
||||||
{
|
{
|
||||||
ZONE_FILLER filler( board() );
|
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 );
|
WX_PROGRESS_REPORTER reporter( getEditFrame<PCB_BASE_FRAME>(), _( "Refill Zones" ), 4 );
|
||||||
filler.SetProgressReporter( &reporter );
|
filler.SetProgressReporter( &reporter );
|
||||||
|
#endif
|
||||||
filler.Fill( { zone } );
|
filler.Fill( { zone } );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue