* Make sure that deleted objects do not send further object updates to the client

This commit is contained in:
Justin Clarke Casey
2008-11-17 16:33:41 +00:00
parent dcfd343a1e
commit 99bd7cce2b
3 changed files with 11 additions and 16 deletions

View File

@@ -1682,6 +1682,9 @@ namespace OpenSim.Region.Environment.Scenes
/// </summary>
public void SendGroupFullUpdate()
{
if (IsDeleted)
return;
RootPart.SendFullUpdateToAllClients();
lock (m_parts)
@@ -1704,6 +1707,9 @@ namespace OpenSim.Region.Environment.Scenes
/// </summary>
public void SendGroupTerseUpdate()
{
if (IsDeleted)
return;
lock (m_parts)
{
foreach (SceneObjectPart part in m_parts.Values)