Skip to content
Snippets Groups Projects
Commit 38ad8611 authored by Oz Linden's avatar Oz Linden
Browse files

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

parent 87716047
No related branches found
No related tags found
No related merge requests found
......@@ -1838,7 +1838,7 @@ BOOL LLFace::getGeometryVolume(const LLVolume& volume,
}
}
if (rebuild_color)
if (rebuild_color && mVertexBuffer->hasDataType(LLVertexBuffer::TYPE_COLOR) )
{
LLFastTimer t(FTM_FACE_GEOM_COLOR);
mVertexBuffer->getColorStrider(colors, mGeomIndex, mGeomCount, map_range);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment