Commits

Scott Lawrence  committed 28b95a6

MAINT-710: Fix for VertexBufferStrider could not find valid vertex data. (from Firestorm)

  • Participants
  • Parent commits 4d41e39
  • Tags 3.3.1-beta1

Comments (0)

Files changed (1)

File indra/newview/llface.cpp

 		}
 	}
 
-	if (rebuild_color)
+	if (rebuild_color && mVertexBuffer->hasDataType(LLVertexBuffer::TYPE_COLOR) )
 	{
 		LLFastTimer t(FTM_FACE_GEOM_COLOR);
 		mVertexBuffer->getColorStrider(colors, mGeomIndex, mGeomCount, map_range);