更新 'src/Scenery/tilemgr.cxx'

This commit is contained in:
zhongjin 2022-12-03 20:12:28 +08:00
parent bd7e679d43
commit 32d934e87d

View File

@ -228,7 +228,10 @@ void FGTileMgr::reinit()
}
//zhongjin 自动下载卫星图像
if ( fgGetNode("/sim/rendering/photoscenery/enabled",false)) {
if ( fgGetNode("/sim/rendering/photoscenery/enabled")) {
SG_LOG( SG_TERRAIN, SG_INFO, "下载卫星图像");
scenerySuffixes.push_back("Orthophotos");
}
@ -238,6 +241,7 @@ void FGTileMgr::reinit()
}
_options->setSceneryPathSuffixes(scenerySuffixes);
if (state != Start)
{
// protect against multiple scenery reloads and properly reset flags,