aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/InnerScene.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-05-18 03:21:22 +0000
committerTeravus Ovares2008-05-18 03:21:22 +0000
commit2bd03b7c8c3b14ea5e7b709aa9e1a3d63ed67e09 (patch)
treebf74f24df560c0fffaf90b98f0d4e50bb0248107 /OpenSim/Region/Environment/Scenes/InnerScene.cs
parentThank you very kindly, Melanie for: (diff)
downloadopensim-SC_OLD-2bd03b7c8c3b14ea5e7b709aa9e1a3d63ed67e09.zip
opensim-SC_OLD-2bd03b7c8c3b14ea5e7b709aa9e1a3d63ed67e09.tar.gz
opensim-SC_OLD-2bd03b7c8c3b14ea5e7b709aa9e1a3d63ed67e09.tar.bz2
opensim-SC_OLD-2bd03b7c8c3b14ea5e7b709aa9e1a3d63ed67e09.tar.xz
* Group type stuff. Nothing spectacular. two packets, sorta almost semi half tiny amount implemented.
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>