Hi Jose,
As you can see Textures are wrapped as abstract classes. Is it a bug,
or is there another mechanism to instance textures using
introspection?
It is responsibility of Genwrapper to tell whether a class is abstract or
not, and sometimes it fails to detect that correctly (either because of a
bug or because Doxygen gets confused by the code). The solution is to force
Genwrapper to treat Texture* classes as concrete object types rather than
abstract classes. This can be done in genwrapper.conf before generating
osgIntrospection wrappers.
I think adding these lines to genwrapper.conf should do the trick:
configure reflector /osg::Texture(1D|2D|3D|CubeMap|Rectangle)/
object-type
end
I've not tested that though.
We need to ask Robert to kindly try this fix and regenerate the wrappers.
:-)
Cheers,
Marco
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/