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:
parent
56681c89cd
commit
7f0baaab61
@ -256,7 +256,7 @@ osg::ref_ptr<osg::Node> p3d::readShowFiles(osg::ArgumentParser& arguments,const
|
|||||||
nodeList.push_back(node);
|
nodeList.push_back(node);
|
||||||
|
|
||||||
// make sure that this presentation isn't cached
|
// make sure that this presentation isn't cached
|
||||||
osgDB::Registry::instance()->removeFromObjectCache( arguments[pos] );
|
osgDB::Registry::instance()->removeFromObjectCache( arguments[pos], local_options.get());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user