From 97db69cf8f21ec54ce628c71141808d8555501e6 Mon Sep 17 00:00:00 2001 From: ehofman Date: Mon, 16 Nov 2009 13:36:25 +0000 Subject: [PATCH] restore listener position with offset --- src/Main/viewmgr.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Main/viewmgr.cxx b/src/Main/viewmgr.cxx index a0494b080..dd1299be9 100644 --- a/src/Main/viewmgr.cxx +++ b/src/Main/viewmgr.cxx @@ -338,8 +338,7 @@ FGViewMgr::update (double dt) // update audio listener values // set the viewer posotion in Cartesian coordinates in meters - smgr->set_position( SGVec3d::fromGeod(loop_view->getPosition()) ); - smgr->set_position_offset( loop_view->getOffset_m() ); + smgr->set_position( abs_viewer_position ); smgr->set_orientation( current_view_orientation ); // get the model velocity -- 2.39.5