Moved plugins across to using ReaderWriter::Options* for search paths in addition
to standard osgDB::DataFilePaths
This commit is contained in:
@@ -30,7 +30,7 @@ class ReaderWriterGDAL : public osgDB::ReaderWriter
|
||||
|
||||
osg::notify(osg::INFO) << "GDAL : " << file << std::endl;
|
||||
|
||||
std::string fileName = osgDB::findDataFile( file );
|
||||
std::string fileName = osgDB::findDataFile( file, options );
|
||||
if (fileName.empty()) return ReadResult::FILE_NOT_FOUND;
|
||||
|
||||
initGDAL();
|
||||
|
||||
Reference in New Issue
Block a user