From 35334daae4d057f1ac5a4d5c3eaeba7ed4b1b4c9 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 28 Aug 2017 17:34:51 +0100 Subject: [PATCH] Build fix --- src/osgPlugins/ply/vertexData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/ply/vertexData.cpp b/src/osgPlugins/ply/vertexData.cpp index 00ce08758..faeca766b 100644 --- a/src/osgPlugins/ply/vertexData.cpp +++ b/src/osgPlugins/ply/vertexData.cpp @@ -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