Use agent.Animator.CurrentMovementAnimation in llGetAgentInfo() rather than asking for a new determination
parent
8185ce8b4a
commit
5bbfb082dd
|
@ -5554,7 +5554,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
flags |= ScriptBaseClass.AGENT_TYPING;
|
flags |= ScriptBaseClass.AGENT_TYPING;
|
||||||
}
|
}
|
||||||
|
|
||||||
string agentMovementAnimation = agent.Animator.DetermineMovementAnimation();
|
string agentMovementAnimation = agent.Animator.CurrentMovementAnimation;
|
||||||
|
|
||||||
if (agentMovementAnimation == "CROUCH")
|
if (agentMovementAnimation == "CROUCH")
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue