mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
eliminate redundant ground sitting checks since these are already done in enclosing control structures
This commit is contained in:
@@ -1537,10 +1537,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
AddNewMovement(agent_control_v3);
|
||||
}
|
||||
|
||||
if (update_movementflag
|
||||
&& ((flags & AgentManager.ControlFlags.AGENT_CONTROL_SIT_ON_GROUND) == 0)
|
||||
&& (m_parentID == 0)
|
||||
&& !SitGround)
|
||||
if (update_movementflag && m_parentID == 0)
|
||||
Animator.UpdateMovementAnimations();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user