Mattias Helsing wrote: > Hi Chris, > Is there a reason to why you don't use setUserData(osg::Referenced*) ? > If you provide the proper read/write routines for your osg::Referenced > derived class it would also persist across .osg file writes/reads.
Because there's only one UserData, and in my library code that I might share with others, I try to avoid taking exclusive use of some asset that others might be used in their application code. -- Chris 'Xenon' Hanson, omo sanza lettere Xenon AlphaPixel.com PixelSense Landsat processing now available! http://www.alphapixel.com/demos/ "There is no Truth. There is only Perception. To Perceive is to Exist." - Xen _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org