bug fix: leave jumping state only to landing, without fallback into

onsurface, etc
avinationmerge
UbitUmarov 2014-10-04 07:49:05 +01:00
parent 4ae960a4f0
commit 6f149ef6ae
1 changed files with 12 additions and 12 deletions

View File

@ -465,6 +465,7 @@ namespace OpenSim.Region.Framework.Scenes.Animation
m_jumping = true; m_jumping = true;
return "JUMP"; return "JUMP";
} }
return CurrentMovementAnimation;
} }
#endregion Jumping #endregion Jumping
@ -508,7 +509,6 @@ namespace OpenSim.Region.Framework.Scenes.Animation
} }
} }
// next section moved outside paren. and realigned for jumping // next section moved outside paren. and realigned for jumping
if (heldOnXY) if (heldOnXY)
@ -530,7 +530,7 @@ namespace OpenSim.Region.Framework.Scenes.Animation
return "WALK"; return "WALK";
} }
} }
else if (!m_jumping) else
{ {
currentControlState = motionControlStates.onsurface; currentControlState = motionControlStates.onsurface;
Falling = false; Falling = false;