1
0
Fork 0

Bugfix: avoid sky colour errors when vis < 1000m

(needs the accompanying Simgear change in SGSky)
This commit is contained in:
James Turner 2013-12-19 17:18:09 +00:00
parent 5cf8157a66
commit 24c1129140
2 changed files with 0 additions and 9 deletions

View file

@ -222,14 +222,6 @@ FGEnvironmentMgr::bind ()
&SGSky::get_3dCloudUseImpostors,
&SGSky::set_3dCloudUseImpostors);
_tiedProperties.Tie("minimum-sky-visibility", _sky,
&SGSky::get_minimum_sky_visibility,
&SGSky::set_minimum_sky_visibility);
// _tiedProperties.Tie("lightning-enable", &sgEnviro,
// &SGEnviro::get_lightning_enable_state,
// &SGEnviro::set_lightning_enable_state);
}
void

View file

@ -610,7 +610,6 @@ FGRenderer::init( void )
if (!_classicalRenderer) {
eventHandler->setChangeStatsCameraRenderOrder( true );
_sky->set_minimum_sky_visibility( 0.0 ); // A black sky appears for below that
}
}