Commit b677b418 authored by Ken Martin's avatar Ken Martin Committed by Code Review

Merge topic 'glyph_fix' into master

5157ca87 Fix a case where glyphic was failing on unlit primitives
parents 6ce3fa2c 5157ca87
......@@ -82,6 +82,12 @@ void vtkOpenGLGlyph3DHelper::ReplaceShaderValues(std::string &VSSource,
"vertexVC = MCVCMatrix * vertex;\n"
" gl_Position = MCDCMatrix * vertex;\n");
}
else
{
substitute(VSSource,
"//VTK::PositionVC::Impl",
"gl_Position = MCDCMatrix * vertex;\n");
}
// deal with color
if (this->UsingInstancing)
......
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