1
0
Fork 0

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:
mfranz 2007-11-09 17:43:22 +00:00
parent ba10199188
commit 5b76cb5409

View file

@ -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",