[osg-users] osg::observer_ptr and osg::ref_ptr
Kristofer Krus
kristofer.krus at liu.se
Thu Oct 18 06:21:04 PDT 2018
Seems handy!
So how can nodeObs become NULL when the Node object is deleted? Does the latter store a list of the observer_ptr objects that it is observed by, and set them all to NULL when it is destructed? Or how does it work?
Cheers,
Kristofer
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=75092#75092
More information about the osg-users
mailing list