Hi Hartmut,

And to Marco, how do I call a static method? I just see that
osgDB.readNodeFile/s is not been wrapped which would be a good example
though.

readNodefile is not an abstract method is a function inside osgDB
namespace. And global functions are not wrapped by genwrapper, this is
as far as I know one of the things that will work in the future. Marco
or David can explain the reasons better than me, but I remember that
genwrapper only maps classes, and osgDB by itself is just a namespace.

I wonder if the trick of declare an osgDB class (without namespace)
and its methods as static calling the true methods could work or
not... I will try. I need osgDB.readFile too working in osgLua :)

Cheers,
   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/

Reply via email to