]> git.mxchange.org Git - flightgear.git/commitdiff
Revert lighting "cleanup" for now.
authorTim Moore <timoore@redhat.com>
Sat, 31 Oct 2009 22:00:11 +0000 (23:00 +0100)
committerTim Moore <timoore@redhat.com>
Sat, 31 Oct 2009 22:00:11 +0000 (23:00 +0100)
The osgViewer headlight appears to be critical for enabling lighting.

src/Main/fg_os_osgviewer.cxx

index 9749645f7c706a32318f4346114792f79e7cabaf..3287e702332a0ab872de5ffb15592758d83f4965 100644 (file)
@@ -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;