Fix for bug #17617: GLSL shaders change vertex color unexpectedly.
This commit is contained in:
@@ -560,7 +560,7 @@ void RAS_MaterialBucket::RenderMeshSlot(const MT_Transform& cameratrans, RAS_IRa
|
||||
if (m_material->GetDrawingMode() & RAS_IRasterizer::RAS_RENDER_3DPOLYGON_TEXT)
|
||||
rasty->IndexPrimitives_3DText(ms, m_material, rendertools);
|
||||
// for multitexturing
|
||||
else if((m_material->GetFlag() & RAS_MULTITEX))
|
||||
else if((m_material->GetFlag() & (RAS_MULTITEX|RAS_BLENDERGLSL)))
|
||||
rasty->IndexPrimitivesMulti(ms);
|
||||
// use normal IndexPrimitives
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user