aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authordahlia2009-10-10 00:26:43 -0700
committerdahlia2009-10-10 00:26:43 -0700
commitd7654c3bda9c6fea93ddc258b00e41eb568faa18 (patch)
treeb4f715ededd2656934edcf82dddfc6f12b5a2710
parent* Fix incorrect math on the Velocity check in PhysicsCollisionUpdate. This ... (diff)
downloadopensim-SC-d7654c3bda9c6fea93ddc258b00e41eb568faa18.zip
opensim-SC-d7654c3bda9c6fea93ddc258b00e41eb568faa18.tar.gz
opensim-SC-d7654c3bda9c6fea93ddc258b00e41eb568faa18.tar.bz2
opensim-SC-d7654c3bda9c6fea93ddc258b00e41eb568faa18.tar.xz
Adjust velocity threshold for triggering flailing. Thanks to KittoFlora for researching this.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index af85424..7ea9314 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3420,7 +3420,7 @@ namespace OpenSim.Region.Framework.Scenes
3420 if (e == null) 3420 if (e == null)
3421 return; 3421 return;
3422 3422
3423 if ((Math.Abs(Velocity.X) > 0.05f) || (Math.Abs(Velocity.Y) > 0.05f)) 3423 if ((Math.Abs(Velocity.X) > 0.1e-9f) || (Math.Abs(Velocity.Y) > 0.1e-9f))
3424 UpdateMovementAnimations(); 3424 UpdateMovementAnimations();
3425 3425
3426 if (m_invulnerable) 3426 if (m_invulnerable)