#include "soundmanager.hxx"
#include "Main/globals.hxx"
#include "Main/fg_props.hxx"
+#include "Viewer/view.hxx"
#include <vector>
#include <string>
}
if (enabled)
{
+#if 0
SGVec3d cartPos(_viewX->getDoubleValue(),
_viewY->getDoubleValue(),
_viewZ->getDoubleValue());
}
set_orientation( viewOrientation );
+#else
+
+ set_position( globals->get_current_view()->getViewPosition(),
+ globals->get_current_view()->getPosition() );
+ set_orientation( globals->get_current_view()->getViewOrientation() );
+#endif
SGVec3d velocity(SGVec3d::zeros());
if (!stationaryView()) {