On 5/22/06, Serge Lages <[EMAIL PROTECTED]> wrote:

Thanks for your answer Robert.
And when I set :

osgDB::Registry::instance()->getOrCreateSharedStateManager()->setShareMode(osgDB::SharedStateManager::SHARE_ALL);

It automaticaly run the ShareDuplicateStateVisitor on the loaded nodes, no ?
And does it share the states between all loaded nodes, or it only
checks the duplicate states of the currently loaded node ?

The SharedStateManager isn't automatically called, you'll need to run it after each load yourself.

Robert.
 

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to