keep same animation if in transit

avinationmerge
UbitUmarov 2014-09-30 00:13:52 +01:00
parent 1b2e2a86a3
commit 2af7205813
1 changed files with 3 additions and 0 deletions

View File

@ -282,6 +282,9 @@ namespace OpenSim.Region.Framework.Scenes.Animation
const int JUMP_PERIOD = 800;
#region Inputs
if (m_scenePresence.IsInTransit)
return CurrentMovementAnimation;
if (m_scenePresence.SitGround)
{
currentControlState = motionControlStates.sitted;