]> git.mxchange.org Git - flightgear.git/commitdiff
add missing property names
authormfranz <mfranz>
Fri, 4 May 2007 19:34:19 +0000 (19:34 +0000)
committermfranz <mfranz>
Fri, 4 May 2007 19:34:19 +0000 (19:34 +0000)
src/Main/viewmgr.cxx

index e64f1d13f85fc6b23e9732b071e157684a3257c3..c4ab2c0c24f4f401d815aadccf858a896f8808df 100644 (file)
@@ -74,11 +74,11 @@ FGViewMgr::init ()
     double z_offset_m = n->getDoubleValue("config/z-offset-m");
 
     double heading_offset_deg = n->getDoubleValue("config/heading-offset-deg");
-    n->setDoubleValue(heading_offset_deg);
+    n->setDoubleValue("config/heading-offset-deg", heading_offset_deg);
     double pitch_offset_deg = n->getDoubleValue("config/pitch-offset-deg");
-    n->setDoubleValue(pitch_offset_deg);
+    n->setDoubleValue("config/pitch-offset-deg", pitch_offset_deg);
     double roll_offset_deg = n->getDoubleValue("config/roll-offset-deg");
-    n->setDoubleValue(roll_offset_deg);
+    n->setDoubleValue("config/roll-offset-deg", roll_offset_deg);
 
     double fov_deg = n->getDoubleValue("config/default-field-of-view-deg");
     double near_m = n->getDoubleValue("config/ground-level-nearplane-m");