From Serge Lages, "Here is a little fix for the FFmpeg plugin. Previously the path computed by osgDB::findDataFile was not used, preventing loading files from directories inside the data path list."

This commit is contained in:
Robert Osfield
2009-06-25 13:10:31 +00:00
parent 0ad020bf16
commit c5c71f519c

View File

@@ -80,7 +80,7 @@ public:
if (path.empty())
return ReadResult::FILE_NOT_FOUND;
return readImageStream(filename, options);
return readImageStream(path, options);
}
ReadResult readImageStream(const std::string& filename, const osgDB::ReaderWriter::Options * options) const