* Fix incorrect math on the Velocity check in PhysicsCollisionUpdate. This may reduce avatar flailing.
parent
798bce592f
commit
5f94889044
|
@ -3420,7 +3420,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
if (e == null)
|
if (e == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (Velocity.X > 0 || Velocity.Y > 0)
|
if ((Math.Abs(Velocity.X) > 0.05f) || (Math.Abs(Velocity.Y) > 0.05f))
|
||||||
UpdateMovementAnimations();
|
UpdateMovementAnimations();
|
||||||
|
|
||||||
if (m_invulnerable)
|
if (m_invulnerable)
|
||||||
|
|
Loading…
Reference in New Issue