Inventory should be working again in sandbox mode

This commit is contained in:
MW
2007-05-13 13:10:15 +00:00
parent 98705e6211
commit 5917d36219
4 changed files with 17 additions and 1 deletions

View File

@@ -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))