Build fix

This commit is contained in:
Robert Osfield 2017-08-28 17:34:51 +01:00
parent 14232cd993
commit 35334daae4

View File

@ -546,7 +546,7 @@ osg::Node* VertexData::readPlyFile( const char* filename, const bool ignoreColor
}
else if (_texcoord.valid())
{
geom->setTexCoordArray(0, _texcoord);
geom->setTexCoordArray(0, _texcoord.get());
}
// If the model has normals, add them to the geometry