diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs index 568639f..a9ded3f 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs | |||
@@ -554,6 +554,15 @@ namespace OpenSim.Region.Environment.Scenes | |||
554 | } | 554 | } |
555 | } | 555 | } |
556 | 556 | ||
557 | public void StartAnimation(IClientAPI client, LLUUID animID, int seq) | ||
558 | { | ||
559 | List<ScenePresence> avatars = this.RequestAvatarList(); | ||
560 | for (int i = 0; i < avatars.Count; i++) | ||
561 | { | ||
562 | avatars[i].ControllingClient.SendAnimation(animID, seq, client.AgentId); | ||
563 | } | ||
564 | } | ||
565 | |||
557 | public virtual void ProcessObjectGrab(uint localID, LLVector3 offsetPos, IClientAPI remoteClient) | 566 | public virtual void ProcessObjectGrab(uint localID, LLVector3 offsetPos, IClientAPI remoteClient) |
558 | { | 567 | { |
559 | this.EventManager.TriggerObjectGrab(localID, offsetPos, remoteClient); | 568 | this.EventManager.TriggerObjectGrab(localID, offsetPos, remoteClient); |