1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-23 10:04:26 +00:00

Final version of fix to prevent showing old framebuffer when switching between views on Mac

This commit is contained in:
Enrico Turri
2019-03-08 08:29:54 +01:00
parent 81820fa77f
commit 513256649e
2 changed files with 7 additions and 18 deletions
+2 -4
View File
@@ -4118,10 +4118,8 @@ void GLCanvas3D::render()
if (m_canvas == nullptr)
return;
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// if (!_is_shown_on_screen())
// return;
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
if (!_is_shown_on_screen())
return;
// ensures this canvas is current and initialized
if (!_set_current() || !_3DScene::init(m_canvas))