Hi, hold your osg nodes (or the root node of your complete scenegraph) with osg reference pointer (osg::ref<T>) instead standard pointers. Assign NULL to this pointer, than the ref pointer doesn't point any longer the node, and the node will be destroyed - unless you point with other pointers to this node :)
Cheers, Torben ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=27927#27927 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org