aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie Thielker2008-11-19 02:13:15 +0000
committerMelanie Thielker2008-11-19 02:13:15 +0000
commit44a94055a4ca71b9da3326e7910cf7cecf103786 (patch)
treeab10af6d01dee188d47184111a15811022a1f4c6 /OpenSim
parentFix deleting object that have been persisted already from the DB (diff)
downloadopensim-SC_OLD-44a94055a4ca71b9da3326e7910cf7cecf103786.zip
opensim-SC_OLD-44a94055a4ca71b9da3326e7910cf7cecf103786.tar.gz
opensim-SC_OLD-44a94055a4ca71b9da3326e7910cf7cecf103786.tar.bz2
opensim-SC_OLD-44a94055a4ca71b9da3326e7910cf7cecf103786.tar.xz
Ensure that the physics representation of a deleted object is also removed
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Environment/Scenes/AsyncSceneObjectGroupDeleter.cs2
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)