diff --git a/include/osgDB/SharedStateManager b/include/osgDB/SharedStateManager index 6bb581271..07c192179 100644 --- a/include/osgDB/SharedStateManager +++ b/include/osgDB/SharedStateManager @@ -50,11 +50,12 @@ namespace osgDB { // Call right after each load void share(osg::Node *node, OpenThreads::Mutex *mt=0); - - protected: void apply(osg::Node& node); void apply(osg::Geode& geode); + + protected: + void process(osg::StateSet* ss, osg::Object* parent); inline osg::StateAttribute *find(osg::StateAttribute *sa); inline osg::StateSet *find(osg::StateSet *ss);