Hi Robert,

Dredging this topic up again, I updated to the latest wrappers today and
found that osg::CullStack was still suppressed even after you made your
changes.

I'm assuming this is just an oversight; so do you mind re-enabling it?
A modified genwrapper.conf is attached.

Thanks,
-Mike

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:osg-users-
> [EMAIL PROTECTED] On Behalf Of Mike Wittman
> Sent: Wednesday, February 21, 2007 9:29 AM
> To: osg users
> Subject: RE: [osg-users] osg::CullStack reflector
> 
> Hi Robert,
> 
> > To go over the hurdle I have gone ahead and changed the affected
> > methods to return RefMatrix* rather than RefMatrix&.  So CullStack
now
> > works fine in the wrappers, but it did require a number of changes
to
> > the OSG.  Using a pointer rather than a & is no bad thing in this
> > instance so I'm happy with this change.
> 
> Ok, thanks.  That resolves the immediate problem.
> 
> > Being able to to properly hanve T& and const T& is important for the
> > wrappers though, as this problem has arisen a number of times, and
> > converting to * isn't alway approrpriate.  There is also a
performance
> > penalty involved in constructor objects you don't need to construct.
> 
> There's also an object slicing problem if the function returns a
> subclass of the declared return type.  I'll see if I can't resolve the
> reference-return issue with the change I mentioned.
> 
> -Mike
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/

Attachment: genwrapper.conf
Description: genwrapper.conf

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to