From c0752beef4d124e2533c0d3f76a815238d212824 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 1 Oct 2004 09:40:06 +0000 Subject: [PATCH] From Tree, moved apply's from protected to public to support Java wrappers --- include/osgDB/SharedStateManager | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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);