MAINT-710: Fix for VertexBufferStrider could not find valid vertex data. (from Firestorm)
parent
877160479b
commit
38ad8611c9
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue