aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/Cache
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Communications/Cache')
-rw-r--r--OpenSim/Framework/Communications/Cache/CachedUserInfo.cs5
-rw-r--r--OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs4
2 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
index 4212fbc..b4e7bfa 100644
--- a/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
+++ b/OpenSim/Framework/Communications/Cache/CachedUserInfo.cs
@@ -556,8 +556,10 @@ namespace OpenSim.Framework.Communications.Cache
556 } 556 }
557 557
558 /// <summary> 558 /// <summary>
559 /// Add an item to the user's inventory 559 /// Add an item to the user's inventory.
560 /// </summary> 560 /// </summary>
561 /// If the item has no folder set (i.e. it is UUID.Zero), then it is placed in the most appropriate folder
562 /// for that type.
561 /// <param name="itemInfo"></param> 563 /// <param name="itemInfo"></param>
562 public void AddItem(InventoryItemBase item) 564 public void AddItem(InventoryItemBase item)
563 { 565 {
@@ -572,6 +574,7 @@ namespace OpenSim.Framework.Communications.Cache
572 item.Folder = RootFolder.ID; 574 item.Folder = RootFolder.ID;
573 } 575 }
574 ItemReceive(item, null); 576 ItemReceive(item, null);
577
575 if (m_commsManager.SecureInventoryService != null) 578 if (m_commsManager.SecureInventoryService != null)
576 { 579 {
577 m_commsManager.SecureInventoryService.AddItem(item, m_session_id); 580 m_commsManager.SecureInventoryService.AddItem(item, m_session_id);
diff --git a/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs b/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs
index 8e624f9..0704232 100644
--- a/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs
+++ b/OpenSim/Framework/Communications/Cache/InventoryFolderImpl.cs
@@ -358,6 +358,10 @@ namespace OpenSim.Framework.Communications.Cache
358 return folderList; 358 return folderList;
359 } 359 }
360 360
361 /// <value>
362 /// The total number of items in this folder and in the immediate child folders (though not from other
363 /// descendants).
364 /// </value>
361 public int TotalCount 365 public int TotalCount
362 { 366 {
363 get 367 get