From: curt Date: Mon, 1 Dec 2008 16:13:12 +0000 (+0000) Subject: Loosen the check for stationary versus moving view point. I some cases when X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ebea9d798e0bbaa63e4ae59e337cc071b47774b2;p=flightgear.git Loosen the check for stationary versus moving view point. I some cases when the view has an "offset" location, the actual location of a "stationary" view point moves a small amount as the view direction rotates. --- diff --git a/src/Main/main.cxx b/src/Main/main.cxx index adf44f242..fcd7ee316 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -626,7 +626,7 @@ static void fgMainLoop( void ) { sgdAddVec3( last_listener_pos, sgdv3_null, (double *)¤t_view->get_view_pos()); - if ( sgdLengthVec3(sgdv3_help) > 0.00001 ) { + if ( sgdLengthVec3(sgdv3_help) > 0.2 ) { sgCopyVec3( listener_vel, model_vel ); } else { sgSetVec3( listener_vel, 0.0, 0.0, 0.0 );