diff options
author | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-01-10 00:07:32 (GMT) |
---|---|---|
committer | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2010-01-10 00:07:32 (GMT) |
commit | 8b1cd86d7f57723d4102a685149364672acb6b0e (patch) | |
tree | c80bc99f02b6d1b3572c152624f49906125cce35 | |
parent | fcb4b74d9ae5d06660c82d4714dc0fb5efabf9d0 (diff) |
Clifford Wolf:
Fixed OpenCSG::reset() call in MDI version
(thx to Florian Kirsch for pointing that out)
git-svn-id: http://svn.clifford.at/openscad/trunk@258 b57f626f-c46c-0410-a088-ec61d464b74c
-rw-r--r-- | mainwin.cc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1241,9 +1241,6 @@ static void renderGLviaOpenCSG(void *vp) glew_initialized = 1; glewInit(); } -#ifdef ENABLE_MDI - OpenCSG::reset(); -#endif if (m->root_chain) { GLint *shaderinfo = m->screen->shaderinfo; if (!shaderinfo[0]) @@ -1256,6 +1253,9 @@ static void renderGLviaOpenCSG(void *vp) renderCSGChainviaOpenCSG(m->highlights_chain, m->viewActionShowEdges->isChecked() ? shaderinfo : NULL, true, false); } } +#ifdef ENABLE_MDI + OpenCSG::reset(); +#endif } /*! |