Moved Registry::CacheHintOptions into ReaderWriter::Options
This commit is contained in:
@@ -334,7 +334,7 @@ class NetReader : public osgDB::ReaderWriter
|
||||
osg::ref_ptr<Options> local_opt = const_cast<Options*>(options);
|
||||
if (!local_opt) local_opt = new Options;
|
||||
|
||||
if (local_opt.valid() && local_opt->getDatabasePath().empty())
|
||||
if (local_opt.valid() && local_opt->getDatabasePathList().empty())
|
||||
{
|
||||
local_opt->setDatabasePath(osgDB::getFilePath(inFileName));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user