pcbnew: fix very slowly hands place module at ratsnest visible off
This commit is contained in:
parent
3c6c7134af
commit
562f26dd6f
|
@ -478,6 +478,7 @@ void WinEDA_BasePcbFrame::Place_Module( MODULE* module,
|
||||||
DrawPanel->ManageCurseur = NULL;
|
DrawPanel->ManageCurseur = NULL;
|
||||||
DrawPanel->ForceCloseManageCurseur = NULL;
|
DrawPanel->ForceCloseManageCurseur = NULL;
|
||||||
|
|
||||||
|
if( GetBoard()->IsElementVisible( RATSNEST_VISIBLE ) )
|
||||||
if( !aDoNotRecreateRatsnest )
|
if( !aDoNotRecreateRatsnest )
|
||||||
Compile_Ratsnest( DC, true );
|
Compile_Ratsnest( DC, true );
|
||||||
|
|
||||||
|
@ -541,6 +542,7 @@ void WinEDA_BasePcbFrame::Rotate_Module( wxDC* DC, MODULE* module,
|
||||||
{
|
{
|
||||||
// not beiing moved: redraw the module and update ratsnest
|
// not beiing moved: redraw the module and update ratsnest
|
||||||
module->Draw( DrawPanel, DC, GR_OR );
|
module->Draw( DrawPanel, DC, GR_OR );
|
||||||
|
if( GetBoard()->IsElementVisible( RATSNEST_VISIBLE ) )
|
||||||
Compile_Ratsnest( DC, true );
|
Compile_Ratsnest( DC, true );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue