[osg-users] delete scene osg

2013-03-01 Thread lucie lemonnier
Hi, I want to delete a complete scene. I use root-removeChildren(0,root-getNumChildren()); Does it destroys the objects in the scene? Thank you! Cheers, lucie -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52918#52918

Re: [osg-users] delete scene osg

2013-03-01 Thread Sebastian Messerschmidt
Hi Lucie Hi, I want to delete a complete scene. I use root-removeChildren(0,root-getNumChildren()); Does it destroys the objects in the scene? Yes and no. First of all it does exactly what the name says. It removes the children from the group. If you don't reference the nodes below that scene