eliminate redundant ground sitting checks since these are already done in enclosing control structures
parent
3d4cc93a8e
commit
b3a4b10531
|
@ -1537,10 +1537,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
AddNewMovement(agent_control_v3);
|
AddNewMovement(agent_control_v3);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (update_movementflag
|
if (update_movementflag && m_parentID == 0)
|
||||||
&& ((flags & AgentManager.ControlFlags.AGENT_CONTROL_SIT_ON_GROUND) == 0)
|
|
||||||
&& (m_parentID == 0)
|
|
||||||
&& !SitGround)
|
|
||||||
Animator.UpdateMovementAnimations();
|
Animator.UpdateMovementAnimations();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue