Hi Robert and Wojciech,

> I have difficulties in imagining the situation when one calls 
> setAttribute( SOME_NON_DEFAULT_VALUE ) and does not change inheritance mask. 
> It does not make much sense to me, because not setting mask does effectively 
> ignore the attribute.

This is actually the same case that I was wondering about: is there any 
reasonable use case where someone wants to set a value and have it ignored? 
Personally I cannot think of one.

For the sake of simplicity, clarity, and common sense I would back Wojciech's 
last proposal to have a 'setAttribute()' and a 'inheritAttribute()' over a 
rather obscure (and long-worded but for that there's always Ctrl-P in vim ;-) 
'setInheritanceMaskActionOnAttributeSetting(DO_NOT_MODIFY_INHERITANCE_MASK)'.

Just my AUD0.02
/ulrich
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to