Thank you for your answer. However, since I'm using a LOD, I think it is
not properly removing my data. At least the memory is still allocated.
If I manually iterate over all nodes and delete them by myself, some memory
is freed, but not all!

2016-05-13 14:58 GMT+01:00 Alberto Luaces <[email protected]>:

> Bruno Oliveira writes:
>
> > At some point I want to completely wipe out my scene. How can I delete
> > all nodes?
>
> If you want to wipe a node and all its descendants, just delete the
> parent node.  That is what reference counting is all about.
>
> --
> Alberto
>
> _______________________________________________
> 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

Reply via email to