Hi David,
Thanks for the quick response.
when try to do a string convertion from string to a osgText::Font pointer,
the address give to the pointer is a bad address
If this address is use ... this is fatal ==>> SEGFAULT
So again this tryConvertTo do bad convertion ... cause by the read write
convertion ...
I don't know how to fix this quickly.
but you can use the getMethod directly instead of use getCompatibleMethod
The problem is I'm trying to use this from osgLua, so the easy way to
do it is use CompatibleMethod mechanism because I dont't know what the
user is trying to do. I can not use getMethod because some
conversions are not known, for example lua only uses doubles (not
integers) or lua casts to strings and from strings on the fly so if
you use "5"+6 it works as a number.
The tests I send to the list are only to show there is a problem and
it is independent from osgLua, anyway maybe we have to fix it in
osgIntrospection first... I will try to look it closer but we can
think in start early the discussion about the future of
osgIntrospection :)
Best Regards,
Jose L.
--
Jose L. Hidalgo ValiƱo (PpluX)
---- http://www.pplux.com ----
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/