From Mourad Boufarguine, "Attached is a fix for the ply reader to use the output of osgDB::findDataFile.
"
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user