aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/AsyncSceneObjectGroupDeleter.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/AsyncSceneObjectGroupDeleter.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/AsyncSceneObjectGroupDeleter.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/AsyncSceneObjectGroupDeleter.cs b/OpenSim/Region/Framework/Scenes/AsyncSceneObjectGroupDeleter.cs
index a8d24fd..088839d 100644
--- a/OpenSim/Region/Framework/Scenes/AsyncSceneObjectGroupDeleter.cs
+++ b/OpenSim/Region/Framework/Scenes/AsyncSceneObjectGroupDeleter.cs
@@ -150,7 +150,8 @@ namespace OpenSim.Region.Framework.Scenes
150 { 150 {
151 IInventoryAccessModule invAccess = m_scene.RequestModuleInterface<IInventoryAccessModule>(); 151 IInventoryAccessModule invAccess = m_scene.RequestModuleInterface<IInventoryAccessModule>();
152 if (invAccess != null) 152 if (invAccess != null)
153 invAccess.DeleteToInventory(x.action, x.folderID, x.objectGroups, x.remoteClient); 153 invAccess.CopyToInventory(x.action, x.folderID, x.objectGroups, x.remoteClient);
154
154 if (x.permissionToDelete) 155 if (x.permissionToDelete)
155 { 156 {
156 foreach (SceneObjectGroup g in x.objectGroups) 157 foreach (SceneObjectGroup g in x.objectGroups)