diff --git a/src/Main/viewmgr.cxx b/src/Main/viewmgr.cxx index c67c71914..806d9451a 100644 --- a/src/Main/viewmgr.cxx +++ b/src/Main/viewmgr.cxx @@ -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",