diff options
author | Justin Clarke Casey | 2008-11-17 16:33:41 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-11-17 16:33:41 +0000 |
commit | 99bd7cce2b4be9c3c1c5de6da0343493a7241630 (patch) | |
tree | 9667eead156e0e9fe6e41998ed8de4fd0a16dd89 /OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |
parent | minor: remove mono compiler warnings (diff) | |
download | opensim-SC-99bd7cce2b4be9c3c1c5de6da0343493a7241630.zip opensim-SC-99bd7cce2b4be9c3c1c5de6da0343493a7241630.tar.gz opensim-SC-99bd7cce2b4be9c3c1c5de6da0343493a7241630.tar.bz2 opensim-SC-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.cs | 6 |
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) |