diff options
author | Melanie Thielker | 2008-11-19 02:13:15 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-11-19 02:13:15 +0000 |
commit | 44a94055a4ca71b9da3326e7910cf7cecf103786 (patch) | |
tree | ab10af6d01dee188d47184111a15811022a1f4c6 | |
parent | Fix deleting object that have been persisted already from the DB (diff) | |
download | opensim-SC-44a94055a4ca71b9da3326e7910cf7cecf103786.zip opensim-SC-44a94055a4ca71b9da3326e7910cf7cecf103786.tar.gz opensim-SC-44a94055a4ca71b9da3326e7910cf7cecf103786.tar.bz2 opensim-SC-44a94055a4ca71b9da3326e7910cf7cecf103786.tar.xz |
Ensure that the physics representation of a deleted object is also removed
-rw-r--r-- | OpenSim/Region/Environment/Scenes/AsyncSceneObjectGroupDeleter.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/AsyncSceneObjectGroupDeleter.cs b/OpenSim/Region/Environment/Scenes/AsyncSceneObjectGroupDeleter.cs index a9fa879..d92ff89 100644 --- a/OpenSim/Region/Environment/Scenes/AsyncSceneObjectGroupDeleter.cs +++ b/OpenSim/Region/Environment/Scenes/AsyncSceneObjectGroupDeleter.cs | |||
@@ -130,7 +130,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
130 | try | 130 | try |
131 | { | 131 | { |
132 | if (x.permissionToDelete) | 132 | if (x.permissionToDelete) |
133 | m_scene.DeleteFromStorage(x.objectGroup.UUID); | 133 | m_scene.DeleteSceneObject(x.objectGroup, false); |
134 | m_scene.DeleteToInventory(x.destination, x.folderID, x.objectGroup, x.remoteClient); | 134 | m_scene.DeleteToInventory(x.destination, x.folderID, x.objectGroup, x.remoteClient); |
135 | } | 135 | } |
136 | catch (Exception e) | 136 | catch (Exception e) |