Commit d46aece3 authored by Jan Möbius's avatar Jan Möbius
Browse files

Use the color of the underlying material Node in the status node. refs #1286

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 2aba9f88
......@@ -512,8 +512,8 @@ void StatusNodeT<Mesh, Mod>::getRenderObjects(IRenderer* _renderer,
ro.depthTest = true;
ro.depthFunc = GL_LEQUAL;
// Use the material from the underlying materialnode
ro.emissive = ACG::Vec3f(1.0f, 0.0f, 0.0f);
......@@ -572,7 +572,7 @@ void StatusNodeT<Mesh, Mod>::getRenderObjects(IRenderer* _renderer,
if (faces && !f_cache_.empty())
if (mesh_.is_trimesh())
if (mesh_.is_trimesh())
ro.vertexDecl = &pointVertexDecl_;
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