Hi John, On 1/5/07, Argentieri, John-P63223 <[EMAIL PROTECTED]> wrote:
This seems to work just fine. Note that it didn't seem to work when I used osg::ref_ptr, but Producer::ref_ptr seems to clean up properly (I'm on Win32).
osg::ref<> and Producer::ref_ptr<> are effectively the same thing, the later being a clone of the former, and being templates you can use them interchangably - Producer::ref_ptr<> with OSG objects, and osg::ref_ptr<> with Producer objects. So I wouldn't expect any difference between them, try changing back to osg::ref_ptr<> and see if things are still ok, and if they arn't please post a code segment as there might be a bug lurking somewhere. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
