aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-12-03 00:33:24 +0000
committerJustin Clark-Casey (justincc)2011-12-03 00:33:24 +0000
commit5bbfb082ddf963037bf291caa9327ef9c7eff3e9 (patch)
tree06276ded7408fc816e04202399ce2a98394cf730 /OpenSim/Region/ScriptEngine
parentDo a cagent.Anims != null check in SP.CopyFrom() (diff)
downloadopensim-SC-5bbfb082ddf963037bf291caa9327ef9c7eff3e9.zip
opensim-SC-5bbfb082ddf963037bf291caa9327ef9c7eff3e9.tar.gz
opensim-SC-5bbfb082ddf963037bf291caa9327ef9c7eff3e9.tar.bz2
opensim-SC-5bbfb082ddf963037bf291caa9327ef9c7eff3e9.tar.xz
Use agent.Animator.CurrentMovementAnimation in llGetAgentInfo() rather than asking for a new determination
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 2812683..6c418df 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -5554,7 +5554,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
5554 flags |= ScriptBaseClass.AGENT_TYPING; 5554 flags |= ScriptBaseClass.AGENT_TYPING;
5555 } 5555 }
5556 5556
5557 string agentMovementAnimation = agent.Animator.DetermineMovementAnimation(); 5557 string agentMovementAnimation = agent.Animator.CurrentMovementAnimation;
5558 5558
5559 if (agentMovementAnimation == "CROUCH") 5559 if (agentMovementAnimation == "CROUCH")
5560 { 5560 {