mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
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
This commit is contained in:
@@ -141,8 +141,11 @@ namespace OpenSim.Services.Interfaces
|
||||
/// <summary>
|
||||
/// Add a new item to the user's inventory
|
||||
/// </summary>
|
||||
/// <param name="item"></param>
|
||||
/// <returns>true if the item was successfully added</returns>
|
||||
/// <param name="item">
|
||||
/// The item to be added. If item.FolderID == UUID.Zero then the item is added to the most suitable system
|
||||
/// folder. If there is no suitable folder then the item is added to the user's root inventory folder.
|
||||
/// </param>
|
||||
/// <returns>true if the item was successfully added, false if it was not</returns>
|
||||
bool AddItem(InventoryItemBase item);
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user