Hi, when I use osgDB::readNodeFile() for reading a file, the function returns a pointer to a node. The destructor of the Node class is protected and it says that it is deleted when not referenced any more.
So is it enough to store the returned Node* in a ref_ptr<Node>? Such a pointer is dereferenced automatically when going out of scope e.g. when the object is destroyed. I use OSG 3.0.1.1 Thank you! Cheers, for ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=61895#61895 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

