mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
Merge branch 'avination' into careminster
This commit is contained in:
@@ -6055,6 +6055,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
flags |= ScriptBaseClass.AGENT_AWAY;
|
||||
}
|
||||
|
||||
UUID busy = new UUID("efcf670c-2d18-8128-973a-034ebc806b67");
|
||||
UUID[] anims = agent.Animator.GetAnimationArray();
|
||||
if (Array.Exists<UUID>(anims, a => { return a == busy; }))
|
||||
{
|
||||
flags |= ScriptBaseClass.AGENT_BUSY;
|
||||
}
|
||||
|
||||
// seems to get unset, even if in mouselook, when avatar is sitting on a prim???
|
||||
if ((agent.AgentControlFlags & (uint)AgentManager.ControlFlags.AGENT_CONTROL_MOUSELOOK) != 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user