Hi Julian I am at my dev machine right so can't look at code to give definitive answer However, I wouldn't have selected virtual inheritance on a whim so my guess is there would be problems with you change.
As for the serialization issue I can't comment as I don't recall trying this before. Could you provide a small example that illustrates the problem. Robert On 8 Aug 2015 3:54 pm, "Julien Valentin" <[email protected]> wrote: > Hi, > I played for a while with osg::ScriptNodeCallback and ran into the > serialization problem of osg::Callback derivated classes. > > It seams that the serialization metamodel have problems with virtual > inheritance. > > With a little of hacking i achieve to serialize ScriptNodeCallback > - I removed the virtual osgCallback inheriatnce of osg::CallbackObject > -And modify the inheritance of ScriptNodeCallback from NodeCallBack > > (The maindifference with current code is that one cannot get the engine > from the nodepath anymore) > > I would be glad to post my code, but first I would like to know if > changing virtual inheritance of CallBackObject would breaks osg features I > haven't in mind; > > > Thank you! > > Cheers, > Julien > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=64670#64670 > > > > > > _______________________________________________ > osg-submissions mailing list > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org >
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
