]> git.mxchange.org Git - simgear.git/blobdiff - simgear/scene/util/SGUpdateVisitor.hxx
accomodate changes to osgDB::DatabasePager interface
[simgear.git] / simgear / scene / util / SGUpdateVisitor.hxx
index 0f640b666bf44e86762731d77c5716265f2748cf..251459a721e5f7484e79d15697fa6bd893331cbb 100644 (file)
@@ -40,7 +40,7 @@ public:
                    const SGQuatd& globalViewOrientation)
   {
     mGlobalGeodEyePos = SGGeod::fromCart(globalEyePos);
-    _currentEyePos = globalEyePos.osg();
+    _currentEyePos = toOsg(globalEyePos);
     mGlobalEyePos = globalEyePos;
     mGlobalViewOr = globalViewOrientation;
     mGlobalHorizLocalOr = SGQuatd::fromLonLat(mGlobalGeodEyePos);