Try to fix Bug #1458215 (3D viewer plane artifacts on first render)
This commit is contained in:
parent
4141a250fe
commit
3e8b4503d1
|
@ -290,7 +290,7 @@ void EDA_3D_CANVAS::generateFakeShadowsTextures( REPORTER* aErrorMessages, REPOR
|
||||||
void EDA_3D_CANVAS::Redraw()
|
void EDA_3D_CANVAS::Redraw()
|
||||||
{
|
{
|
||||||
// SwapBuffer requires the window to be shown before calling
|
// SwapBuffer requires the window to be shown before calling
|
||||||
if( !IsShown() )
|
if( !IsShownOnScreen() )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
wxString err_messages;
|
wxString err_messages;
|
||||||
|
|
Loading…
Reference in New Issue