mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-03-16 08: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:
parent
a59740a5ff
commit
0e9016da5f
@ -188,7 +188,7 @@ public:
|
|||||||
|
|
||||||
// remove light to prevent unnecessary state changes in SceneView
|
// remove light to prevent unnecessary state changes in SceneView
|
||||||
// scene will get light from sky
|
// scene will get light from sky
|
||||||
view->setLightingMode(osg::View::NO_LIGHT);
|
// view->setLightingMode(osg::View::NO_LIGHT);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user