Added passing of the osgDB::Options to the remove from cache to make sure the cache model for the presentation is found and removed.

This commit is contained in:
Robert Osfield 2017-12-04 16:43:08 +00:00
parent 56681c89cd
commit 7f0baaab61

View File

@ -256,7 +256,7 @@ osg::ref_ptr<osg::Node> 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());
}
}
}