mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 05:45:37 +08:00
Use agent.Animator.CurrentMovementAnimation in llGetAgentInfo() rather than asking for a new determination
This commit is contained in:
@@ -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")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user