Robert,

I understand. As I earlier said,  I did not mean to push it. In fact I have 
sent my post in just the same time I received your post that you already 
implented option #4. I would not do this if the timing was different ;-) I 
am OK with your current solution.

Cheers,
Wojtek

----- Original Message ----- 
From: "Robert Osfield" <[EMAIL PROTECTED]>
To: "OpenSceneGraph Users" <[email protected]>
Sent: Wednesday, March 19, 2008 2:20 PM
Subject: Re: [osg-users] osgShadow example and gerneral question


> 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 

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

Reply via email to