Hi John and Rui, Well spotted. I am not sure what to do about this one. I think fixing the REGISTER_OBJECT_WRAPPER to include osg::Group may well break the parsing of .osgb files as the current serializers aren't versioned for the associates list.
Having two separate wrappers might be the way forward. Or adding some for of versioning for the associate list. Any thoughts Rui? Cheers, Robert. On 24 March 2015 at 08:33, John Ivar Haugland <[email protected]> wrote: > Hi, > > I notice that osg::Geode now inherits osg::Group instead of osg::Node. > > However, in the corresponsing serializer osg::Group is not mentioned in > REGISTER_OBJECT_WRAPPER( Geode, > new osg::Geode, > osg::Geode, > "osg::Object osg::Node osg::Geode" ) > > > Is this correct ? or should it be changed to > > REGISTER_OBJECT_WRAPPER( Geode, > new osg::Geode, > osg::Geode, > "osg::Object osg::Node osg::Group osg::Geode" ) > > > Kind regards > John Ivar Haugland > > > > _______________________________________________ > 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

