Commit 47c3d30c authored by Matthias Möller's avatar Matthias Möller

changed alwaysOnTop method

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 7765ee7b
......@@ -612,7 +612,7 @@ getRenderObjects(ACG::IRenderer* _renderer, ACG::GLState& _state , const ACG::S
ro.blendDest = GL_ONE_MINUS_SRC_ALPHA;
if (alwaysOnTop_)
ro.depthTest = false;
ro.priority = 1;//draw after scene meshes
// Set the buffers for rendering
ro.vertexBuffer = vbo_;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment