diff --git a/applications/present3D/ReadShowFile.cpp b/applications/present3D/ReadShowFile.cpp index 147a54bda..474660cb5 100644 --- a/applications/present3D/ReadShowFile.cpp +++ b/applications/present3D/ReadShowFile.cpp @@ -256,7 +256,7 @@ osg::ref_ptr p3d::readShowFiles(osg::ArgumentParser& arguments,const nodeList.push_back(node); // make sure that this presentation isn't cached - osgDB::Registry::instance()->removeFromObjectCache( arguments[pos] ); + osgDB::Registry::instance()->removeFromObjectCache( arguments[pos], local_options.get()); } } }