Hi All,
I don't really have any light to through on this problem with
osgIntrospection, but I'd like to flag up my willingness to look at
tweaking API in the OSG that causes problems like this. This will
have to be taken in a case by case, but perhaps introspection itself
can help flag the possible problem areas.
If you spot a problem of this nature and can see a bit of API tweaking
would solve the problem than please shout. We can't refactor
everything and we have to be mindful of compatibility with existing
code base so there are limits at how flexible we can be, but this
needn't stop use at least considering possible changes.
Robert.
On 10/23/06, Jose Luis Hidalgo <[EMAIL PROTECTED]> wrote:
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/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/