diff options
Diffstat (limited to '')
3 files changed, 11 insertions, 16 deletions
diff --git a/OpenSim/Region/Environment/Scenes/AsyncSceneObjectGroupDeleter.cs b/OpenSim/Region/Environment/Scenes/AsyncSceneObjectGroupDeleter.cs index b011600..58e0ca3 100644 --- a/OpenSim/Region/Environment/Scenes/AsyncSceneObjectGroupDeleter.cs +++ b/OpenSim/Region/Environment/Scenes/AsyncSceneObjectGroupDeleter.cs | |||
@@ -131,7 +131,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
131 | } | 131 | } |
132 | catch (Exception e) | 132 | catch (Exception e) |
133 | { | 133 | { |
134 | m_log.DebugFormat("Exception background deleting object: " +e); | 134 | m_log.DebugFormat("Exception background deleting object: " + e); |
135 | } | 135 | } |
136 | 136 | ||
137 | return true; | 137 | return true; |
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) |
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 74fa725..fa656f6 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -2074,6 +2074,9 @@ if (m_shape != null) { | |||
2074 | // | 2074 | // |
2075 | if (ParentGroup.IsSelected && IsAttachment) | 2075 | if (ParentGroup.IsSelected && IsAttachment) |
2076 | return; | 2076 | return; |
2077 | |||
2078 | if (ParentGroup.IsDeleted) | ||
2079 | return; | ||
2077 | 2080 | ||
2078 | clientFlags &= ~(uint) PrimFlags.CreateSelected; | 2081 | clientFlags &= ~(uint) PrimFlags.CreateSelected; |
2079 | 2082 | ||
@@ -2179,16 +2182,7 @@ if (m_shape != null) { | |||
2179 | } | 2182 | } |
2180 | 2183 | ||
2181 | /// <summary> | 2184 | /// <summary> |
2182 | /// Send a terse update to the client. | 2185 | /// Send a terse update to all clients |
2183 | /// </summary> | ||
2184 | /// <param name="remoteClient"></param> | ||
2185 | // public void SendTerseUpdate(IClientAPI remoteClient) | ||
2186 | // { | ||
2187 | // SendTerseUpdateToClient(remoteClient); | ||
2188 | // } | ||
2189 | |||
2190 | /// <summary> | ||
2191 | /// | ||
2192 | /// </summary> | 2186 | /// </summary> |
2193 | public void SendTerseUpdateToAllClients() | 2187 | public void SendTerseUpdateToAllClients() |
2194 | { | 2188 | { |
@@ -2199,11 +2193,6 @@ if (m_shape != null) { | |||
2199 | } | 2193 | } |
2200 | } | 2194 | } |
2201 | 2195 | ||
2202 | // public void SendTerseUpdateToClient(IClientAPI remoteClient, Vector3 lPos) | ||
2203 | // { | ||
2204 | // SendTerseUpdateToClient(remoteclient); | ||
2205 | // } | ||
2206 | |||
2207 | public void SetAttachmentPoint(uint AttachmentPoint) | 2196 | public void SetAttachmentPoint(uint AttachmentPoint) |
2208 | { | 2197 | { |
2209 | this.AttachmentPoint = AttachmentPoint; | 2198 | this.AttachmentPoint = AttachmentPoint; |