Added change removed by mistale in 02163f7f9648b81ad1dc59a4ad6c1a5c55c02a50
This commit is contained in:
parent
513256649e
commit
862700ab46
1 changed files with 3 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue