Try to fix Bug #1458215 (3D viewer plane artifacts on first render)

This commit is contained in:
unknown 2015-11-15 18:55:53 +01:00 committed by jean-pierre charras
parent 4141a250fe
commit 3e8b4503d1
1 changed files with 1 additions and 1 deletions

View File

@ -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;