From 3e8b4503d1e098108f13079b5672ce78fb1dc108 Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 15 Nov 2015 18:55:53 +0100 Subject: [PATCH] Try to fix Bug #1458215 (3D viewer plane artifacts on first render) --- 3d-viewer/3d_draw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;