Use agent.Animator.CurrentMovementAnimation in llGetAgentInfo() rather than asking for a new determination

iar_mods
Justin Clark-Casey (justincc) 2011-12-03 00:33:24 +00:00
parent 8185ce8b4a
commit 5bbfb082dd
1 changed files with 1 additions and 1 deletions

View File

@ -5554,7 +5554,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
flags |= ScriptBaseClass.AGENT_TYPING;
}
string agentMovementAnimation = agent.Animator.DetermineMovementAnimation();
string agentMovementAnimation = agent.Animator.CurrentMovementAnimation;
if (agentMovementAnimation == "CROUCH")
{