aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/InnerScene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/InnerScene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/InnerScene.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs
index 352fdf9..7a460a2 100644
--- a/OpenSim/Region/Environment/Scenes/InnerScene.cs
+++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs
@@ -330,7 +330,30 @@ namespace OpenSim.Region.Environment.Scenes
330 330
331 331
332 } 332 }
333 public void HandleObjectGroupUpdate(
334 IClientAPI remoteClient, LLUUID GroupID, uint objectLocalID, LLUUID Garbage)
335 {
336 List<EntityBase> EntityList = GetEntities();
333 337
338 foreach (EntityBase obj in EntityList)
339 {
340 if (obj is SceneObjectGroup)
341 {
342 if (((SceneObjectGroup)obj).LocalId == objectLocalID)
343 {
344 SceneObjectGroup group = (SceneObjectGroup)obj;
345
346 if (m_parentScene.ExternalChecks.ExternalChecksCanEditObject(group.UUID, remoteClient.AgentId))
347 group.SetGroup(GroupID, remoteClient);
348 else
349 remoteClient.SendAgentAlertMessage("You don't have permission to set the group", false);
350
351 }
352 }
353 }
354
355
356 }
334 /// <summary> 357 /// <summary>
335 /// Event Handling routine for Attach Object 358 /// Event Handling routine for Attach Object
336 /// </summary> 359 /// </summary>