TerraSync: match API change
Pass the scenery path suffixes here to terraSync explicitly, to avoid it needing to read the properties from a hard-coded path, which is inefficient.
This commit is contained in:
parent
72ec70f275
commit
e23bf8d7d2
1 changed files with 3 additions and 0 deletions
|
@ -224,6 +224,9 @@ void FGTileMgr::reinit()
|
||||||
scenerySuffixes = {"Objects", "Terrain"}; // defaut values
|
scenerySuffixes = {"Objects", "Terrain"}; // defaut values
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (terraSync) {
|
||||||
|
terraSync->setSceneryPathSuffixes(scenerySuffixes);
|
||||||
|
}
|
||||||
_options->setSceneryPathSuffixes(scenerySuffixes);
|
_options->setSceneryPathSuffixes(scenerySuffixes);
|
||||||
|
|
||||||
if (state != Start)
|
if (state != Start)
|
||||||
|
|
Loading…
Reference in a new issue