From ebea9d798e0bbaa63e4ae59e337cc071b47774b2 Mon Sep 17 00:00:00 2001 From: curt Date: Mon, 1 Dec 2008 16:13:12 +0000 Subject: [PATCH] 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. --- src/Main/main.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.39.5