diff options
small change to OnSceneGroupMove event (in SceneEvents.cs)
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneEvents.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneEvents.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneEvents.cs b/OpenSim/Region/Environment/Scenes/SceneEvents.cs index 0986654..e058745 100644 --- a/OpenSim/Region/Environment/Scenes/SceneEvents.cs +++ b/OpenSim/Region/Environment/Scenes/SceneEvents.cs | |||
@@ -88,7 +88,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
88 | 88 | ||
89 | public event RemoveScript OnRemoveScript; | 89 | public event RemoveScript OnRemoveScript; |
90 | 90 | ||
91 | public delegate void SceneGroupMoved(LLUUID groupID, LLVector3 delta); | 91 | public delegate bool SceneGroupMoved(LLUUID groupID, LLVector3 delta); |
92 | 92 | ||
93 | public event SceneGroupMoved OnSceneGroupMove; | 93 | public event SceneGroupMoved OnSceneGroupMove; |
94 | 94 | ||
@@ -194,12 +194,13 @@ namespace OpenSim.Region.Environment.Scenes | |||
194 | } | 194 | } |
195 | } | 195 | } |
196 | 196 | ||
197 | public void TriggerGroupMove(LLUUID groupID, LLVector3 delta) | 197 | public bool TriggerGroupMove(LLUUID groupID, LLVector3 delta) |
198 | { | 198 | { |
199 | if (OnSceneGroupMove != null) | 199 | if (OnSceneGroupMove != null) |
200 | { | 200 | { |
201 | OnSceneGroupMove(groupID, delta); | 201 | return OnSceneGroupMove(groupID, delta); |
202 | } | 202 | } |
203 | return true; | ||
203 | } | 204 | } |
204 | 205 | ||
205 | public void TriggerGroupGrab(LLUUID groupID, LLVector3 offset, LLUUID userID) | 206 | public void TriggerGroupGrab(LLUUID groupID, LLVector3 offset, LLUUID userID) |