From be0aebcc9af8c0bfe684f64c6b37f94f685a45f1 Mon Sep 17 00:00:00 2001 From: MW Date: Tue, 16 Oct 2007 15:09:06 +0000 Subject: couple of small event changes --- OpenSim/Region/Environment/Scenes/SceneEvents.cs | 6 +++--- OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/OpenSim/Region/Environment/Scenes/SceneEvents.cs b/OpenSim/Region/Environment/Scenes/SceneEvents.cs index d9162d4..1117324 100644 --- a/OpenSim/Region/Environment/Scenes/SceneEvents.cs +++ b/OpenSim/Region/Environment/Scenes/SceneEvents.cs @@ -92,7 +92,7 @@ namespace OpenSim.Region.Environment.Scenes public event SceneGroupMoved OnSceneGroupMove; - public delegate void SceneGroupGrabed(LLUUID groupID, LLVector3 offset); + public delegate void SceneGroupGrabed(LLUUID groupID, LLVector3 offset, LLUUID userID); public event SceneGroupGrabed OnSceneGroupGrab; @@ -198,11 +198,11 @@ namespace OpenSim.Region.Environment.Scenes } } - public void TriggerGroupGrab(LLUUID groupID, LLVector3 offset) + public void TriggerGroupGrab(LLUUID groupID, LLVector3 offset, LLUUID userID) { if (OnSceneGroupGrab != null) { - OnSceneGroupGrab(groupID, offset); + OnSceneGroupGrab(groupID, offset, userID); } } } diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index f1930ea..9f8ea0c 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs @@ -1318,7 +1318,7 @@ namespace OpenSim.Region.Environment.Scenes public virtual void OnGrabGroup(LLVector3 offsetPos, IClientAPI remoteClient) { - m_scene.EventManager.TriggerGroupGrab(this.UUID, offsetPos); + m_scene.EventManager.TriggerGroupGrab(this.UUID, offsetPos, remoteClient.AgentId); } public void DeleteGroup() -- cgit v1.1