aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-11-17 16:33:41 +0000
committerJustin Clarke Casey2008-11-17 16:33:41 +0000
commit99bd7cce2b4be9c3c1c5de6da0343493a7241630 (patch)
tree9667eead156e0e9fe6e41998ed8de4fd0a16dd89 /OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
parentminor: remove mono compiler warnings (diff)
downloadopensim-SC_OLD-99bd7cce2b4be9c3c1c5de6da0343493a7241630.zip
opensim-SC_OLD-99bd7cce2b4be9c3c1c5de6da0343493a7241630.tar.gz
opensim-SC_OLD-99bd7cce2b4be9c3c1c5de6da0343493a7241630.tar.bz2
opensim-SC_OLD-99bd7cce2b4be9c3c1c5de6da0343493a7241630.tar.xz
* Make sure that deleted objects do not send further object updates to the client
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index 91caada..bf430b9 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -1682,6 +1682,9 @@ namespace OpenSim.Region.Environment.Scenes
1682 /// </summary> 1682 /// </summary>
1683 public void SendGroupFullUpdate() 1683 public void SendGroupFullUpdate()
1684 { 1684 {
1685 if (IsDeleted)
1686 return;
1687
1685 RootPart.SendFullUpdateToAllClients(); 1688 RootPart.SendFullUpdateToAllClients();
1686 1689
1687 lock (m_parts) 1690 lock (m_parts)
@@ -1704,6 +1707,9 @@ namespace OpenSim.Region.Environment.Scenes
1704 /// </summary> 1707 /// </summary>
1705 public void SendGroupTerseUpdate() 1708 public void SendGroupTerseUpdate()
1706 { 1709 {
1710 if (IsDeleted)
1711 return;
1712
1707 lock (m_parts) 1713 lock (m_parts)
1708 { 1714 {
1709 foreach (SceneObjectPart part in m_parts.Values) 1715 foreach (SceneObjectPart part in m_parts.Values)