Hi,
Thanks, if later I reference the node from a group, will the reference count be 
increased for the node?

{
osg::ref_ptr<Node> node = new Node;
osg::ref_ptr<Group> group = new Group;
group->addChild(node);
}

The reference count of node should be one outside the scope. Is it right that 
somehow group->addChild(node) increases the reference count of node?


Thank you!

Cheers,
Rabbi

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





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

Reply via email to