Bugfix: avoid sky colour errors when vis < 1000m
(needs the accompanying Simgear change in SGSky)
This commit is contained in:
parent
5cf8157a66
commit
24c1129140
2 changed files with 0 additions and 9 deletions
|
@ -222,14 +222,6 @@ FGEnvironmentMgr::bind ()
|
||||||
&SGSky::get_3dCloudUseImpostors,
|
&SGSky::get_3dCloudUseImpostors,
|
||||||
&SGSky::set_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
|
void
|
||||||
|
|
|
@ -610,7 +610,6 @@ FGRenderer::init( void )
|
||||||
|
|
||||||
if (!_classicalRenderer) {
|
if (!_classicalRenderer) {
|
||||||
eventHandler->setChangeStatsCameraRenderOrder( true );
|
eventHandler->setChangeStatsCameraRenderOrder( true );
|
||||||
_sky->set_minimum_sky_visibility( 0.0 ); // A black sky appears for below that
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue