diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/AsyncSceneObjectGroupDeleter.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/AsyncSceneObjectGroupDeleter.cs | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/OpenSim/Region/Environment/Scenes/AsyncSceneObjectGroupDeleter.cs b/OpenSim/Region/Environment/Scenes/AsyncSceneObjectGroupDeleter.cs index 442b40d..97eb7a5 100644 --- a/OpenSim/Region/Environment/Scenes/AsyncSceneObjectGroupDeleter.cs +++ b/OpenSim/Region/Environment/Scenes/AsyncSceneObjectGroupDeleter.cs | |||
@@ -126,18 +126,16 @@ namespace OpenSim.Region.Environment.Scenes | |||
126 | "[SCENE]: Sending deleted object to user's inventory, {0} item(s) remaining.", left); | 126 | "[SCENE]: Sending deleted object to user's inventory, {0} item(s) remaining.", left); |
127 | 127 | ||
128 | x = m_inventoryDeletes.Dequeue(); | 128 | x = m_inventoryDeletes.Dequeue(); |
129 | if (!x.objectGroup.IsDeleted) | 129 | |
130 | try | ||
131 | { | ||
132 | m_scene.DeleteToInventory(x.destination, | ||
133 | x.folderID, x.objectGroup, x.remoteClient, | ||
134 | x.permissionToDelete); | ||
135 | } | ||
136 | catch (Exception e) | ||
130 | { | 137 | { |
131 | try | 138 | m_log.DebugFormat("Exception background deleting object: "+e.ToString()); |
132 | { | ||
133 | m_scene.DeleteToInventory(x.destination, | ||
134 | x.folderID, x.objectGroup, x.remoteClient, | ||
135 | x.permissionToDelete); | ||
136 | } | ||
137 | catch (Exception e) | ||
138 | { | ||
139 | m_log.DebugFormat("Exception background deleting object: "+e.ToString()); | ||
140 | } | ||
141 | } | 139 | } |
142 | 140 | ||
143 | return true; | 141 | return true; |