diff --git a/src/Main/renderer.cxx b/src/Main/renderer.cxx index 74cf55fb0..bafc5d488 100644 --- a/src/Main/renderer.cxx +++ b/src/Main/renderer.cxx @@ -611,7 +611,8 @@ FGRenderer::update( bool refresh_camera_settings ) { } SGSkyState sstate; - sstate.pos = current__view->getPosition(); + sstate.pos = current__view->getViewPosition(); + sstate.pos_geod = current__view->getPosition(); sstate.ori = current__view->getViewOrientation(); sstate.spin = l->get_sun_rotation(); sstate.gst = globals->get_time_params()->getGst();