Hi Robert
you have forgotten the Quat case in LuaEngine from my last submision attachment
Further I began to play with lua meta model access and found something that 
look like a bug :
when i tried to get Callback from a node it crashes
It surely as something to do with virtual inheritance
so I replaced ObjectSerializer get method in osgDB/Serializer
with this code
virtual bool get(const osg::Object& obj, void* value) { const C& object = 
OBJECT_CAST<const C&>(obj);*(reinterpret_cast<const osg::Object**>(value )) 
=dynamic_cast<const osg::Object*>( (object.*_getter)()); return true; }
Now I access Node callback without crashing

Does it sound good to you?



mp3butcher wrote:
> Very clean thanks
> 
> 
> robertosfield wrote:
> > Hi Julien,
> > 
> > I've reviewed your changes and feel that template would be a better
> > way to go than utilize marcos.
> > 
> > I have gone though the include/osg/ValueObject and the lua plugin
> > adding support for the range of Vec classes.  These are now checked
> > into git master.
> > 
> > Robert.
> > 
> > On 3 July 2016 at 19:51, Julien Valentin <> wrote:
> > 
> > > Hi,
> > > 
> > > There was missing Quat in LuaEngine Plugin
> > > so I take the opportunity to add all missing VecXXX Types
> > > (Doing that i remark that there was also missing xzyw accessor to Vec4ub)
> > > 
> > > Thank you!
> > > 
> > > Cheers,
> > > Julien
> > > 
> > > ------------------
> > > Read this topic online here:
> > > http://forum.openscenegraph.org/viewtopic.php?p=67975#67975
> > > 
> > > 
> > > 
> > > 
> > > _______________________________________________
> > > osg-submissions mailing list
> > > 
> > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
> > > 
> > > 
> > _______________________________________________
> > osg-submissions mailing list
> > 
> > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
> > 
> >  ------------------
> > Post generated by Mail2Forum
> 


------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=67996#67996





_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to