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
