diff --git a/3d-viewer/3d_draw.cpp b/3d-viewer/3d_draw.cpp index eca5bf6b34..6d331b51ba 100644 --- a/3d-viewer/3d_draw.cpp +++ b/3d-viewer/3d_draw.cpp @@ -290,7 +290,7 @@ void EDA_3D_CANVAS::generateFakeShadowsTextures( REPORTER* aErrorMessages, REPOR void EDA_3D_CANVAS::Redraw() { // SwapBuffer requires the window to be shown before calling - if( !IsShown() ) + if( !IsShownOnScreen() ) return; wxString err_messages;