From 46d381cc871ade1145216aa4cc5c68f9e59b5c7e Mon Sep 17 00:00:00 2001 From: mfranz Date: Sun, 1 Feb 2009 11:40:03 +0000 Subject: [PATCH] x/y/z offsets are in m, not deg --- src/Main/viewmgr.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Main/viewmgr.cxx b/src/Main/viewmgr.cxx index cb2dfa053..17610d6b4 100644 --- a/src/Main/viewmgr.cxx +++ b/src/Main/viewmgr.cxx @@ -147,11 +147,11 @@ FGViewMgr::reinit () fgSetDouble("/sim/current-view/field-of-view", fov_deg); // target offsets for lookat mode only... - fgSetDouble("/sim/current-view/target-x-offset-deg", + fgSetDouble("/sim/current-view/target-x-offset-m", n->getDoubleValue("config/target-x-offset-m")); - fgSetDouble("/sim/current-view/target-y-offset-deg", + fgSetDouble("/sim/current-view/target-y-offset-m", n->getDoubleValue("config/target-y-offset-m")); - fgSetDouble("/sim/current-view/target-z-offset-deg", + fgSetDouble("/sim/current-view/target-z-offset-m", n->getDoubleValue("config/target-z-offset-m")); } setView(0);