Thanks. That makes sense but I still have a question. If I am createing a new OSG object in my code, say osg:Geometry, and I know it will be passed to a osg method at some point. How do I know if I should or should not wrap it in ref_ptr? I'd think we should wrap it. But I have seen a lot of examples that do not. I am concerned about memory leaks.
Cheers, Yasser ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=37668#37668 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org