Hi Farshid, Option 2 gets my vote.
Robert. On 10 October 2013 17:22, Farshid Lashkari <[email protected]> wrote: > Hi all, > > I noticed that the Collada loader was modified a while back to assign the > node name to the osg::Node, instead of the node ID. This seems like a good > change overall, but we have existing customers/applications that depend on > the previous use of the node ID. > > In order to support legacy code, I'm thinking of making one of the > following changes to the Collada loader: > > 1) Add a loader option that will control whether the node id or name is > assigned to the osg::Node (defaulting to name) > > 2) Assign the node ID as a named user data attribute of the osg::Node (ie. > "collada_node_id") > > I'm leaning towards option #2. I know this probably does not affect most > users, but does anybody have any thoughts/suggestions on the matter? > > Cheers, > Farshid > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

