Ensure that the physics representation of a deleted object is also removed

This commit is contained in:
Melanie Thielker
2008-11-19 02:13:15 +00:00
parent a104cc2c62
commit 44a94055a4

View File

@@ -130,7 +130,7 @@ namespace OpenSim.Region.Environment.Scenes
try
{
if (x.permissionToDelete)
m_scene.DeleteFromStorage(x.objectGroup.UUID);
m_scene.DeleteSceneObject(x.objectGroup, false);
m_scene.DeleteToInventory(x.destination, x.folderID, x.objectGroup, x.remoteClient);
}
catch (Exception e)