mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
Inventory should be working again in sandbox mode
This commit is contained in:
@@ -101,6 +101,19 @@ namespace OpenSim.Framework.Inventory
|
||||
return false;
|
||||
}
|
||||
|
||||
public LLUUID GetFolderID(string folderName)
|
||||
{
|
||||
foreach (InventoryFolder inv in this.InventoryFolders.Values)
|
||||
{
|
||||
if (inv.FolderName == folderName)
|
||||
{
|
||||
return inv.FolderID;
|
||||
}
|
||||
}
|
||||
|
||||
return LLUUID.Zero;
|
||||
}
|
||||
|
||||
public bool UpdateItemAsset(LLUUID itemID, AssetBase asset)
|
||||
{
|
||||
if(this.InventoryItems.ContainsKey(itemID))
|
||||
|
||||
Reference in New Issue
Block a user