The osgText::String is derived from osg::Referenced but it have a public destructor and the safe shared memory could be broken.
in the source :
virtual ~String() {} // public temporily while osgText is still in flux.
I don't understand what mean "is still in flux"
The second strange think is that in osgText::Text::getString(), the function return a reference on osgText::String and not a pointer like any osg::Referenced based class
Is it the good behavious to return the reference ??
David
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
