Hi Steve, The line you are using to remove a child is the appropriate one, as to why it doesn't work in your case, we'll this isn't something I can answer. To find out why you'll need to do more debugging at your end. Perhaps a bug in your code is occurring such that pointers are wrong, or code isn't being executed.
Robert. On Sun, Apr 20, 2008 at 4:52 PM, Steve Smith <[EMAIL PROTECTED]> wrote: > 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 > > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

