diff options
author | Melanie Thielker | 2010-06-01 02:27:30 +0200 |
---|---|---|
committer | Melanie | 2010-06-01 02:10:22 +0100 |
commit | f29cb57bf183c0530ead35890163f39903c8f410 (patch) | |
tree | 303f04127a4051be5d27c2007edc359e1e306478 /OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs | |
parent | Add a method to get the bounding box and root prim offsets within it for (diff) | |
download | opensim-SC_OLD-f29cb57bf183c0530ead35890163f39903c8f410.zip opensim-SC_OLD-f29cb57bf183c0530ead35890163f39903c8f410.tar.gz opensim-SC_OLD-f29cb57bf183c0530ead35890163f39903c8f410.tar.bz2 opensim-SC_OLD-f29cb57bf183c0530ead35890163f39903c8f410.tar.xz |
Continuing refactor. Refactor DeRezObject to deal with multiple objects
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; |