From ba2242decb04a7b0aab46907ebc7fa8dc715d0eb Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 24 Jun 2013 11:40:16 +0000 Subject: [PATCH] From Mourad Boufarguine, "Attached is a fix for the ply reader to use the output of osgDB::findDataFile. " --- src/osgPlugins/ply/ReaderWriterPLY.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osgPlugins/ply/ReaderWriterPLY.cpp b/src/osgPlugins/ply/ReaderWriterPLY.cpp index 13686122a..18c21f5a5 100644 --- a/src/osgPlugins/ply/ReaderWriterPLY.cpp +++ b/src/osgPlugins/ply/ReaderWriterPLY.cpp @@ -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;