aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorMelanie2011-03-25 02:39:17 +0100
committerMelanie2011-03-25 02:39:17 +0100
commit8338b74d3f023c825cca8d59b90be44a52faec10 (patch)
tree996c796b5d21118ab3b5b101d546481549497c3f /OpenSim/Region/Framework
parentSwitching vivox to https for production use (diff)
downloadopensim-SC_OLD-8338b74d3f023c825cca8d59b90be44a52faec10.zip
opensim-SC_OLD-8338b74d3f023c825cca8d59b90be44a52faec10.tar.gz
opensim-SC_OLD-8338b74d3f023c825cca8d59b90be44a52faec10.tar.bz2
opensim-SC_OLD-8338b74d3f023c825cca8d59b90be44a52faec10.tar.xz
Add giving lists of items to another prim
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
index bc892e0..63fed6b 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs
@@ -1301,6 +1301,14 @@ namespace OpenSim.Region.Framework.Scenes
1301 1301
1302 public UUID MoveTaskInventoryItems(UUID destID, string category, SceneObjectPart host, List<UUID> items) 1302 public UUID MoveTaskInventoryItems(UUID destID, string category, SceneObjectPart host, List<UUID> items)
1303 { 1303 {
1304 SceneObjectPart destPart = GetSceneObjectPart(destID);
1305 if (destPart != null) // Move into a prim
1306 {
1307 foreach(UUID itemID in items)
1308 MoveTaskInventoryItem(destID, host, itemID);
1309 return destID; // Prim folder ID == prim ID
1310 }
1311
1304 InventoryFolderBase rootFolder = InventoryService.GetRootFolder(destID); 1312 InventoryFolderBase rootFolder = InventoryService.GetRootFolder(destID);
1305 1313
1306 UUID newFolderID = UUID.Random(); 1314 UUID newFolderID = UUID.Random();