Hello Kimmo, Adrian,

The code was missing three ref_ptr .get()s, so I guess you didn’t compile the version you attached…

The SVN version now includes an implicit conversion operator from ref_ptr<T> to T*, so it is now possible to code without calling get() to pass a pointer from a ref_ptr. I guess Adrian has started using this, but you have an older version of OSG which does not include this...

J-S
--
______________________________________________________
Jean-Sebastien Guay    jean-sebastien.g...@cm-labs.com
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to