Bill I would imagine the safest way of saving the info as user data is to insert your own node into the scenegraph. That way you can guarantee its empty.
Colin -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bill Prendergast Sent: 17 October 2006 14:48 To: osg users Subject: RE: [osg-users] pushStateSet question Robert (and other readers), We missed (what I think is) a question in my original post that may (heh... or may not) be of general interest... I'll repost if you don't mind: > 3) Can we count on the User Data area of osg::Object to always be available at > the user level? For example, the FLT loader appears to use this area to hold > the Lat/Long in some cases and without hunting, I am wondering if other "osg-level" > code has hijacked the user area so we cannot count on it always being available. Offhand, do you offer any words of warning along the lines of "you can use any Object's UserData area, EXCEPT note that osg uses it in [some place] to hold [some thing] and you cannot stomp on that, lest [some bad thing happen]" ? Thanks in advance, Bill _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/ ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs Email Security System. ________________________________________________________________________ The contents of this email (including any attachments) are confidential and may be legally privileged. If you are not the intended recipient of this email, any disclosure, copying, distribution or use of its contents is strictly prohibited, and you should please notify the sender immediately and then delete it (including any attachments) from your system. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
