also copy name & type to /sim/current-view
That's useful for animations, and we can't rely on numbers. And shouldn't.
This commit is contained in:
parent
ba10199188
commit
5b76cb5409
1 changed files with 2 additions and 0 deletions
|
@ -293,6 +293,8 @@ void
|
|||
FGViewMgr::copyToCurrent()
|
||||
{
|
||||
SGPropertyNode *n = config_list[current];
|
||||
fgSetString("/sim/current-view/name", n->getStringValue("name"));
|
||||
fgSetString("/sim/current-view/type", n->getStringValue("type"));
|
||||
|
||||
// copy certain view config data for default values
|
||||
fgSetDouble("/sim/current-view/config/heading-offset-deg",
|
||||
|
|
Loading…
Add table
Reference in a new issue