Part of the reason Mario made this change was that it agree with a post
from you:
http://article.gmane.org/gmane.comp.graphics.openscenegraph.user/17087/m
atch=merge
Did you get a response?  What did you do to get past it?

Mario found that when we have an OVERRIDE attribute with a PROTECTED
attribute deeper in the tree, the OVERRIDE won out over the PROTECTED
one.  That isn't supposed to happen, is it?  The behavior that Mario
implemented was what we saw in other parts of the OSG code.  How did
this work out in your own code?

thanks,
andy


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Paul Martz
Sent: Wednesday, November 14, 2007 7:06 PM
To: 'OpenSceneGraph Submissions'
Subject: Re: [osg-submissions] Fix to StateSet::merge

> Currently, in the StateSet::merge method, the rhs state 
> attributes and modes are not merged into the lhs state when 
> the rhs is PROTECTED. The changes I'm providing here address 
> this problem.

I have a NodeVisitor that tracks current state as it walks the scene
graph.
(I believe) it currently handles inheritance correctly. I'm conerned
that
this change would break that.

Does your change fix an issue you've encountered, and if so, what?
   -Paul

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegr
aph.org
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to