From b41164b620c9de49baee933728807376838123c5 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Mon, 13 Dec 2010 21:35:40 -0800 Subject: This seems to get rid of the stuck PREJUMP animation, as reported by Justin in -dev. Also in this commit, a slight adjustment to the Velocity of SP -- this makes the avie walking feel less jerky for me. Will wait reports from others. --- .../Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Framework/Scenes/Animation') diff --git a/OpenSim/Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs b/OpenSim/Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs index b8cdfc4..4865481 100644 --- a/OpenSim/Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs +++ b/OpenSim/Region/Framework/Scenes/Animation/ScenePresenceAnimator.cs @@ -233,6 +233,11 @@ namespace OpenSim.Region.Framework.Scenes.Animation // Falling long enough to trigger the animation return "FALLDOWN"; } + else if (m_animTickJump == -1) + { + m_animTickJump = 0; + return "STAND"; + } return m_movementAnimation; } @@ -279,6 +284,8 @@ namespace OpenSim.Region.Framework.Scenes.Animation m_animTickJump = -1; return "JUMP"; } + else + return "JUMP"; } else { @@ -307,7 +314,7 @@ namespace OpenSim.Region.Framework.Scenes.Animation #endregion Ground Movement - return m_movementAnimation; + //return m_movementAnimation; } /// -- cgit v1.1