Here is simple project which reproduces this issue - RefCountTest 
(https://bitbucket.org/OmegaDoom/osgrefcounttest)

It's a visual studio project with qt and osg. Not sure you are using windows 
but the main code in scene.cpp. ref count checks inside 
"Scene::operator()(osg::Node* node, osg::NodeVisitor* nv)"

I expect both checks to return 1 but first one returns 2 as I explained earlier.

I suppose it's the cause of memleak. I use osg 3.2.

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





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

Reply via email to