From 862700ab46d7b540f8f01c5ababd213e816af3d4 Mon Sep 17 00:00:00 2001 From: Enrico Turri Date: Fri, 8 Mar 2019 10:42:09 +0100 Subject: [PATCH] Added change removed by mistale in 02163f7f9648b81ad1dc59a4ad6c1a5c55c02a50 --- src/slic3r/GUI/GLCanvas3D.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/slic3r/GUI/GLCanvas3D.cpp b/src/slic3r/GUI/GLCanvas3D.cpp index b8afc325a..7914022a1 100644 --- a/src/slic3r/GUI/GLCanvas3D.cpp +++ b/src/slic3r/GUI/GLCanvas3D.cpp @@ -4118,8 +4118,11 @@ void GLCanvas3D::render() if (m_canvas == nullptr) return; +#ifndef __WXMAC__ + // on Mac this check causes flickering when changing view if (!_is_shown_on_screen()) return; +#endif // __WXMAC__ // ensures this canvas is current and initialized if (!_set_current() || !_3DScene::init(m_canvas))