aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/Interfaces
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-08-23 23:16:48 +0100
committerDiva Canto2010-08-24 17:22:08 -0700
commit269c9a11b7253413c0dc139b6ca0b76bd1c65b12 (patch)
tree28ef052c92d9b5b9981ffde09e302b51f81d2d84 /OpenSim/Services/Interfaces
parentRemove various warnings and improve logging messages. No functional changes. (diff)
downloadopensim-SC_OLD-269c9a11b7253413c0dc139b6ca0b76bd1c65b12.zip
opensim-SC_OLD-269c9a11b7253413c0dc139b6ca0b76bd1c65b12.tar.gz
opensim-SC_OLD-269c9a11b7253413c0dc139b6ca0b76bd1c65b12.tar.bz2
opensim-SC_OLD-269c9a11b7253413c0dc139b6ca0b76bd1c65b12.tar.xz
Fix bug in llGiveInventory() where items were disappearing on relog
This was a regression - the code to look up the correct type folder was no longer being called if items were added without a parent folder set This may have been broken since commit bd49985a on 2010-05-02
Diffstat (limited to 'OpenSim/Services/Interfaces')
-rw-r--r--OpenSim/Services/Interfaces/IInventoryService.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Services/Interfaces/IInventoryService.cs b/OpenSim/Services/Interfaces/IInventoryService.cs
index 1b78fb3..d19faed 100644
--- a/OpenSim/Services/Interfaces/IInventoryService.cs
+++ b/OpenSim/Services/Interfaces/IInventoryService.cs
@@ -141,8 +141,11 @@ namespace OpenSim.Services.Interfaces
141 /// <summary> 141 /// <summary>
142 /// Add a new item to the user's inventory 142 /// Add a new item to the user's inventory
143 /// </summary> 143 /// </summary>
144 /// <param name="item"></param> 144 /// <param name="item">
145 /// <returns>true if the item was successfully added</returns> 145 /// The item to be added. If item.FolderID == UUID.Zero then the item is added to the most suitable system
146 /// folder. If there is no suitable folder then the item is added to the user's root inventory folder.
147 /// </param>
148 /// <returns>true if the item was successfully added, false if it was not</returns>
146 bool AddItem(InventoryItemBase item); 149 bool AddItem(InventoryItemBase item);
147 150
148 /// <summary> 151 /// <summary>