That should work. pFlightLoader, however, must have the address of the child node. So, check under a debugger to look at the addresses of pRoot's children, or simply step through the removeChild call to see why it is failing. (This is the benefit of having the source code, so you should make use of it.) -Paul
_____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Smith Sent: Sunday, April 20, 2008 9:53 AM To: [email protected] Subject: [osg-users] Removing an object from the SceneGraph Hello, I have a scenegraph constructed and rendering. I'm trying to remove and object by calling pRoot->removeChild(pFlightLeader); pRoot is the root of the scene graph, and pFlightLeader is an osg::Node. However, the model remains in the scene on subsequent renders. Is there anything additional that I need to do to remove the node? Many thanks to any kind souls... Steve
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

