更新 'src/Scenery/tilemgr.cxx'
This commit is contained in:
parent
bd7e679d43
commit
32d934e87d
@ -228,7 +228,10 @@ void FGTileMgr::reinit()
|
|||||||
}
|
}
|
||||||
|
|
||||||
//zhongjin 自动下载卫星图像
|
//zhongjin 自动下载卫星图像
|
||||||
if ( fgGetNode("/sim/rendering/photoscenery/enabled",false)) {
|
if ( fgGetNode("/sim/rendering/photoscenery/enabled")) {
|
||||||
|
|
||||||
|
SG_LOG( SG_TERRAIN, SG_INFO, "下载卫星图像");
|
||||||
|
|
||||||
scenerySuffixes.push_back("Orthophotos");
|
scenerySuffixes.push_back("Orthophotos");
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -238,6 +241,7 @@ void FGTileMgr::reinit()
|
|||||||
}
|
}
|
||||||
_options->setSceneryPathSuffixes(scenerySuffixes);
|
_options->setSceneryPathSuffixes(scenerySuffixes);
|
||||||
|
|
||||||
|
|
||||||
if (state != Start)
|
if (state != Start)
|
||||||
{
|
{
|
||||||
// protect against multiple scenery reloads and properly reset flags,
|
// protect against multiple scenery reloads and properly reset flags,
|
||||||
|
Loading…
Reference in New Issue
Block a user