On 2/9/07, Paul Martz <[EMAIL PROTECTED]> wrote:
> In in here it masks out all but StateAttribute::OVERRIDE &
> StateAttribute::PROTECTED so only these have meaning in the
> case of attributes.
Yes, but setAttributeAndModes() handles the case where the override value is
INHERIT (by removing the attribute). So it seems to me that INHERIT does
have a meaning for attributes.
From what I recall INHERIT is used is removes the attribute or mode
thereby allow that parents value of that attribute/mode to be
inherited down. Its a looong time since I wrote this stuff ;-)
I'm open to tweaking the API to make things clearer, albeit keeping
backwards compatibility.
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/