diff options
author | Justin Clark-Casey (justincc) | 2011-12-03 00:33:24 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-12-03 00:33:24 +0000 |
commit | 5bbfb082ddf963037bf291caa9327ef9c7eff3e9 (patch) | |
tree | 06276ded7408fc816e04202399ce2a98394cf730 /OpenSim/Region/ScriptEngine/Shared | |
parent | Do a cagent.Anims != null check in SP.CopyFrom() (diff) | |
download | opensim-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/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
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 | { |