1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-03-15 07:29:15 +01:00

LP-29 don't switch off lights when terrain is present

this will work only with osgearth version greater than 2.7
This commit is contained in:
Philippe Renon 2016-02-25 23:34:13 +01:00
parent a59740a5ff
commit 0e9016da5f

View File

@ -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