osgEarth 2.1.1
|
Functions | |
const osgDB::Options * | fixOptions (const osgDB::Options *input) |
const osgDB::Options* anonymous_namespace{URI.cpp}::fixOptions | ( | const osgDB::Options * | input | ) |
"Fixes" the osgDB options by disabling the automatic archive caching. Archive caching screws up our URI resolution because with it on, osgDB remembers every archive file you open and effectively puts it in all future search paths :(
Definition at line 42 of file URI.cpp.
{ if ( input && input->getObjectCacheHint() == osgDB::Options::CACHE_NONE ) { return input; } else { return Registry::instance()->cloneOrCreateOptions( input ); } }