From 0e9016da5fd89abe81d9e12165d3edca1b632d9d Mon Sep 17 00:00:00 2001 From: Philippe Renon Date: Thu, 25 Feb 2016 23:34:13 +0100 Subject: [PATCH] LP-29 don't switch off lights when terrain is present this will work only with osgearth version greater than 2.7 --- ground/gcs/src/libs/osgearth/osgQtQuick/OSGViewport.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ground/gcs/src/libs/osgearth/osgQtQuick/OSGViewport.cpp b/ground/gcs/src/libs/osgearth/osgQtQuick/OSGViewport.cpp index b5115aa9c..03e729487 100644 --- a/ground/gcs/src/libs/osgearth/osgQtQuick/OSGViewport.cpp +++ b/ground/gcs/src/libs/osgearth/osgQtQuick/OSGViewport.cpp @@ -188,7 +188,7 @@ public: // remove light to prevent unnecessary state changes in SceneView // scene will get light from sky - view->setLightingMode(osg::View::NO_LIGHT); + // view->setLightingMode(osg::View::NO_LIGHT); } #endif