diff options
author | Tom Grimshaw | 2010-07-18 06:01:26 -0700 |
---|---|---|
committer | Tom Grimshaw | 2010-07-18 06:01:26 -0700 |
commit | c088397ec72916dfb2914b44f2be8df827fd89d9 (patch) | |
tree | 99597c74aadd8f88e6eb9eda840b4d82980c0da7 /OpenSim | |
parent | Ensure that packets do NOT get delivered to a client before the modules that ... (diff) | |
download | opensim-SC-c088397ec72916dfb2914b44f2be8df827fd89d9.zip opensim-SC-c088397ec72916dfb2914b44f2be8df827fd89d9.tar.gz opensim-SC-c088397ec72916dfb2914b44f2be8df827fd89d9.tar.bz2 opensim-SC-c088397ec72916dfb2914b44f2be8df827fd89d9.tar.xz |
If the client requests that an object be deleted, and the SOG/SOP is null and/or is marked as deleted, just send the KillObject
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 4575068..989ec37 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -1700,11 +1700,19 @@ namespace OpenSim.Region.Framework.Scenes | |||
1700 | // Invalid id | 1700 | // Invalid id |
1701 | SceneObjectPart part = GetSceneObjectPart(localID); | 1701 | SceneObjectPart part = GetSceneObjectPart(localID); |
1702 | if (part == null) | 1702 | if (part == null) |
1703 | { | ||
1704 | //Client still thinks the object exists, kill it | ||
1705 | SendKillObject(localID); | ||
1703 | continue; | 1706 | continue; |
1707 | } | ||
1704 | 1708 | ||
1705 | // Already deleted by someone else | 1709 | // Already deleted by someone else |
1706 | if (part.ParentGroup == null || part.ParentGroup.IsDeleted) | 1710 | if (part.ParentGroup == null || part.ParentGroup.IsDeleted) |
1711 | { | ||
1712 | //Client still thinks the object exists, kill it | ||
1713 | SendKillObject(localID); | ||
1707 | continue; | 1714 | continue; |
1715 | } | ||
1708 | 1716 | ||
1709 | // Can't delete child prims | 1717 | // Can't delete child prims |
1710 | if (part != part.ParentGroup.RootPart) | 1718 | if (part != part.ParentGroup.RootPart) |