From 7f0baaab616d01078c0f1f5fac4e352f993202a0 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 4 Dec 2017 16:43:08 +0000 Subject: [PATCH] Added passing of the osgDB::Options to the remove from cache to make sure the cache model for the presentation is found and removed. --- applications/present3D/ReadShowFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } } }