Hi again, thanks for your responses!

@ Paul : A good piece of advice for sure... I didn't even know there was a 
quick start guide :-* Thank you.

@ Skylark : Wow thanks a lot for this very clear explanation!! It seems I was 
doing exactly the wrong thing... plus, I had simple pointers everywhere.
So I fixed this, all of my osg objects are now in osg::ref_ptr, and I've 
removed every useless operation on my pointers, no release, no delete, just 
calling "new" when needed.
But I still have the memory leak! (which is proven to be caused by my object)
Any idea?...

I have a subsidiary question : let be a node defined dynamically, existing only 
as a child of a group. Does the removeChild method delete this node? 'cause I'm 
doing this everywhere...

Ku

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to