diff options
Merge branch 'avination' into careminster
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 717cc07..434638d 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -6055,6 +6055,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
6055 | flags |= ScriptBaseClass.AGENT_AWAY; | 6055 | flags |= ScriptBaseClass.AGENT_AWAY; |
6056 | } | 6056 | } |
6057 | 6057 | ||
6058 | UUID busy = new UUID("efcf670c-2d18-8128-973a-034ebc806b67"); | ||
6059 | UUID[] anims = agent.Animator.GetAnimationArray(); | ||
6060 | if (Array.Exists<UUID>(anims, a => { return a == busy; })) | ||
6061 | { | ||
6062 | flags |= ScriptBaseClass.AGENT_BUSY; | ||
6063 | } | ||
6064 | |||
6058 | // seems to get unset, even if in mouselook, when avatar is sitting on a prim??? | 6065 | // seems to get unset, even if in mouselook, when avatar is sitting on a prim??? |
6059 | if ((agent.AgentControlFlags & (uint)AgentManager.ControlFlags.AGENT_CONTROL_MOUSELOOK) != 0) | 6066 | if ((agent.AgentControlFlags & (uint)AgentManager.ControlFlags.AGENT_CONTROL_MOUSELOOK) != 0) |
6060 | { | 6067 | { |