]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/viewer.cxx
Land the GPS/route-manager re-write. Many things are better, many other things will...
[flightgear.git] / src / Main / viewer.cxx
index 118776da3e03a3f55b67b201ac0bd7fa3a7890d5..2e34db687f6b62f2261c8ca57c58a56ccc6e6198 100644 (file)
@@ -659,6 +659,6 @@ FGViewer::update (double dt)
     }
   }
   recalc();
-  _cameraGroup->update(_absolute_view_pos.osg(), mViewOrientation.osg());
+  _cameraGroup->update(toOsg(_absolute_view_pos), toOsg(mViewOrientation));
   _cameraGroup->setCameraParameters(get_v_fov(), get_aspect_ratio());
 }