From: Tim Moore Date: Sat, 31 Oct 2009 22:00:11 +0000 (+0100) Subject: Revert lighting "cleanup" for now. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=28d221cd7cbaa500874b26ba438b5b2af72c3624;p=flightgear.git Revert lighting "cleanup" for now. The osgViewer headlight appears to be critical for enabling lighting. --- diff --git a/src/Main/fg_os_osgviewer.cxx b/src/Main/fg_os_osgviewer.cxx index 9749645f7..3287e7023 100644 --- a/src/Main/fg_os_osgviewer.cxx +++ b/src/Main/fg_os_osgviewer.cxx @@ -147,7 +147,6 @@ void fgOSOpenWindow(bool stencil) viewer->setSceneData(new osg::Group); globals->get_renderer()->setViewer(viewer.get()); CameraGroup::setDefault(cameraGroup); - viewer->setLightingMode(View::NO_LIGHT); } static int status = 0;