Hi Fabien,

I have gone for a switch based handling of the mapping between
View::LightingMode and SceneView rather placing everything on one
line.  I did this to keep the code more readable.

Could you do an svn update and see if this works fine for you.

Robert.

On Tue, Nov 18, 2008 at 11:19 AM, Fabien Lavignotte
<[EMAIL PROTECTED]> wrote:
> Hi,
> I found a bug when setting lighting mode to NO_LIGHT on a osg::View.
> The HEADLIGHT was still present, and no way to remove it. After some
> investigations, i found that the osgViewer::Renderer does not take into
> account the lighting mode of the view. It is always set to HEADLIGHT. So
> i modify the Renderer constructor to handle it and it works (no light!)
> but maybe i miss something...
> Fabien
>
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________
> _______________________________________________
> osg-submissions mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
>
>
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to