aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications/Local
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Communications/Local')
-rw-r--r--OpenSim/Region/Communications/Local/LocalInventoryService.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Communications/Local/LocalInventoryService.cs b/OpenSim/Region/Communications/Local/LocalInventoryService.cs
index 6ba024a..8295cfa 100644
--- a/OpenSim/Region/Communications/Local/LocalInventoryService.cs
+++ b/OpenSim/Region/Communications/Local/LocalInventoryService.cs
@@ -43,6 +43,12 @@ namespace OpenSim.Region.Communications.Local
43 { 43 {
44 InventoryFolder newfolder = new InventoryFolder(folder); 44 InventoryFolder newfolder = new InventoryFolder(folder);
45 folderCallBack(userID, newfolder); 45 folderCallBack(userID, newfolder);
46
47 List<InventoryItemBase> items = this.RequestFolderItems(newfolder.folderID);
48 foreach (InventoryItemBase item in items)
49 {
50 itemCallBack(userID, item);
51 }
46 } 52 }
47 } 53 }
48 } 54 }
@@ -52,5 +58,10 @@ namespace OpenSim.Region.Communications.Local
52 { 58 {
53 this.AddFolder(folder); 59 this.AddFolder(folder);
54 } 60 }
61
62 public void AddNewInventoryItem(LLUUID userID, InventoryItemBase item)
63 {
64 this.AddItem(item);
65 }
55 } 66 }
56} 67}