aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-12-17 00:11:17 +0000
committerJustin Clark-Casey (justincc)2011-12-17 00:11:17 +0000
commit1bf05fbb1f8cc4832d8c8963556d8082181f810a (patch)
tree74cf31834abc9b74390c6fa14866bc4108a9f1d7 /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
parentStop generating client flags when we send out full object updates. (diff)
downloadopensim-SC_OLD-1bf05fbb1f8cc4832d8c8963556d8082181f810a.zip
opensim-SC_OLD-1bf05fbb1f8cc4832d8c8963556d8082181f810a.tar.gz
opensim-SC_OLD-1bf05fbb1f8cc4832d8c8963556d8082181f810a.tar.bz2
opensim-SC_OLD-1bf05fbb1f8cc4832d8c8963556d8082181f810a.tar.xz
refactor: simplify methods in Scene.PacketHandlers.cs by using GetGroupByPrim() rather than retrieving GetEntities() and inspecting the entire list
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs14
1 files changed, 10 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 20ef8c9..7bf8c34 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -1373,8 +1373,13 @@ namespace OpenSim.Region.Framework.Scenes
1373 1373
1374 #endregion 1374 #endregion
1375 1375
1376 // Send the parts of this SOG to a single client 1376 /// <summary>
1377 // Used when the client initially connects and when client sends RequestPrim packet 1377 /// Send the parts of this SOG to a single client
1378 /// </summary>
1379 /// <remarks>
1380 /// Used when the client initially connects and when client sends RequestPrim packet
1381 /// </remarks>
1382 /// <param name="remoteClient"></param>
1378 public void SendFullUpdateToClient(IClientAPI remoteClient) 1383 public void SendFullUpdateToClient(IClientAPI remoteClient)
1379 { 1384 {
1380 RootPart.SendFullUpdate(remoteClient); 1385 RootPart.SendFullUpdate(remoteClient);
@@ -1678,10 +1683,11 @@ namespace OpenSim.Region.Framework.Scenes
1678 1683
1679 /// <summary> 1684 /// <summary>
1680 /// Reset the UUIDs for all the prims that make up this group. 1685 /// Reset the UUIDs for all the prims that make up this group.
1681 /// 1686 /// </summary>
1687 /// <remarks>
1682 /// This is called by methods which want to add a new group to an existing scene, in order 1688 /// This is called by methods which want to add a new group to an existing scene, in order
1683 /// to ensure that there are no clashes with groups already present. 1689 /// to ensure that there are no clashes with groups already present.
1684 /// </summary> 1690 /// </remarks>
1685 public void ResetIDs() 1691 public void ResetIDs()
1686 { 1692 {
1687 lock (m_parts.SyncRoot) 1693 lock (m_parts.SyncRoot)