Hi Wojteck, On Wed, Mar 19, 2008 at 11:20 AM, Wojciech Lewandowski <[EMAIL PROTECTED]> wrote: > So in practice there are 3 cases of usage and I think that they can be > served with option #5: > > setAttribute( ) would always clear inheritance flag. > > but also add a method: > > inheritAttribute( ) which would set the inheritance flag and reset attribute > to default.
Adding an inherit*() method would require us to add a number of extra methods that most/perhaps all would never be called. Also having multiple places that set the default value would be a maintenance problem. If there was a need for enabling inheritance then it'd be better done via a general inerihitance setting method, but then we already have a setInheritinceMask() method. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

