From 28d221cd7cbaa500874b26ba438b5b2af72c3624 Mon Sep 17 00:00:00 2001 From: Tim Moore Date: Sat, 31 Oct 2009 23:00:11 +0100 Subject: [PATCH] Revert lighting "cleanup" for now. The osgViewer headlight appears to be critical for enabling lighting. --- src/Main/fg_os_osgviewer.cxx | 1 - 1 file changed, 1 deletion(-) 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; -- 2.39.5