diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs index 901dcba..3035d88 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | |||
@@ -189,6 +189,20 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess | |||
189 | /// <param name="objectGroup"></param> | 189 | /// <param name="objectGroup"></param> |
190 | /// <param name="remoteClient"> </param> | 190 | /// <param name="remoteClient"> </param> |
191 | public virtual UUID DeleteToInventory(DeRezAction action, UUID folderID, | 191 | public virtual UUID DeleteToInventory(DeRezAction action, UUID folderID, |
192 | List<SceneObjectGroup> objectGroups, IClientAPI remoteClient) | ||
193 | { | ||
194 | // HACK: This is only working for lists containing a single item! | ||
195 | // It's just a hack to make this WIP compile and run. Nothing | ||
196 | // currently calls this with multiple items. | ||
197 | UUID ret = UUID.Zero; | ||
198 | |||
199 | foreach (SceneObjectGroup g in objectGroups) | ||
200 | ret = DeleteToInventory(action, folderID, g, remoteClient); | ||
201 | |||
202 | return ret; | ||
203 | } | ||
204 | |||
205 | public virtual UUID DeleteToInventory(DeRezAction action, UUID folderID, | ||
192 | SceneObjectGroup objectGroup, IClientAPI remoteClient) | 206 | SceneObjectGroup objectGroup, IClientAPI remoteClient) |
193 | { | 207 | { |
194 | UUID assetID = UUID.Zero; | 208 | UUID assetID = UUID.Zero; |