diff options
author | Teravus Ovares (Dan Olivares) | 2009-10-10 01:49:06 -0400 |
---|---|---|
committer | Teravus Ovares (Dan Olivares) | 2009-10-10 01:49:06 -0400 |
commit | 5f94889044656211d05b62c7253b1aad19a23eab (patch) | |
tree | 0d1c9d1fc79b403dd9fc2f384fec31acc8580aaf /OpenSim/Region/Framework | |
parent | * Move the 'On Collision Update Movement Animation' routine to above the 'm_i... (diff) | |
download | opensim-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')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 |
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) |