From Mourad Boufarguine, "Attached is a fix for the ply reader to use the output of osgDB::findDataFile.

"
This commit is contained in:
Robert Osfield
2013-06-24 11:40:16 +00:00
parent 6331a54a68
commit ba2242decb

View File

@@ -72,7 +72,7 @@ osgDB::ReaderWriter::ReadResult ReaderWriterPLY::readNode(const std::string& fil
//Instance of vertex data which will read the ply file and convert in to osg::Node
ply::VertexData vertexData;
osg::Node* node = vertexData.readPlyFile(filename.c_str());
osg::Node* node = vertexData.readPlyFile(fileName.c_str());
if (node)
return node;