bug fix: leave jumping state only to landing, without fallback into
onsurface, etcavinationmerge
parent
4ae960a4f0
commit
6f149ef6ae
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue