aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorTeravus Ovares (Dan Olivares)2009-10-10 01:49:06 -0400
committerTeravus Ovares (Dan Olivares)2009-10-10 01:49:06 -0400
commit5f94889044656211d05b62c7253b1aad19a23eab (patch)
tree0d1c9d1fc79b403dd9fc2f384fec31acc8580aaf /OpenSim/Region/Framework/Scenes
parent* Move the 'On Collision Update Movement Animation' routine to above the 'm_i... (diff)
downloadopensim-SC_OLD-5f94889044656211d05b62c7253b1aad19a23eab.zip
opensim-SC_OLD-5f94889044656211d05b62c7253b1aad19a23eab.tar.gz
opensim-SC_OLD-5f94889044656211d05b62c7253b1aad19a23eab.tar.bz2
opensim-SC_OLD-5f94889044656211d05b62c7253b1aad19a23eab.tar.xz
* Fix incorrect math on the Velocity check in PhysicsCollisionUpdate. This may reduce avatar flailing.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-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 0352c64..af85424 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 (Velocity.X > 0 || Velocity.Y > 0) 3423 if ((Math.Abs(Velocity.X) > 0.05f) || (Math.Abs(Velocity.Y) > 0.05f))
3424 UpdateMovementAnimations(); 3424 UpdateMovementAnimations();
3425 3425
3426 if (m_invulnerable) 3426 if (m_invulnerable)