Hi,

You have a memory leak. You don't need to dynamically allocate for the Node*.

You find an existing node in the graph and put it under your outline, but you 
don't remove it from it's existing parent/s. did you intend to draw it more 
than once?

One of my favorite aspects of osg is the samples. Great resource for typical 
uses of 
objects.https://github.com/openscenegraph/OpenSceneGraph/blob/master/examples/osgoutline/osgoutline.cpp

Thank you!

Cheers,
tom

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=72604#72604





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to