Added missing setColorBinding() into ConvertFromFLT::setMeshColors().

This commit is contained in:
Robert Osfield
2004-06-11 14:49:22 +00:00
parent 343fa27fcd
commit 09d585561a

View File

@@ -3107,6 +3107,7 @@ uint32 ConvertFromFLT::setMeshColors ( const uint32 &numVerts, const LocalVertex
// Set the mesh coordinates.
geometry->setColorArray ( colors );
geometry->setColorBinding( osg::Geometry::BIND_PER_VERTEX );
// Return the number of colors added.
return i;