aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.Framework/AgentInventory.cs
diff options
context:
space:
mode:
authorMW2007-05-13 13:10:15 +0000
committerMW2007-05-13 13:10:15 +0000
commit5917d36219d1143ff3129f6e2692ab25f2ea1b5f (patch)
tree0cdaa6aa3f1f6e5a0923a6f585b6f8f4e826353d /OpenSim.Framework/AgentInventory.cs
parentChanged to slightly better textures for the map: a blue one for the sea and o... (diff)
downloadopensim-SC_OLD-5917d36219d1143ff3129f6e2692ab25f2ea1b5f.zip
opensim-SC_OLD-5917d36219d1143ff3129f6e2692ab25f2ea1b5f.tar.gz
opensim-SC_OLD-5917d36219d1143ff3129f6e2692ab25f2ea1b5f.tar.bz2
opensim-SC_OLD-5917d36219d1143ff3129f6e2692ab25f2ea1b5f.tar.xz
Inventory should be working again in sandbox mode
Diffstat (limited to 'OpenSim.Framework/AgentInventory.cs')
-rw-r--r--OpenSim.Framework/AgentInventory.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim.Framework/AgentInventory.cs b/OpenSim.Framework/AgentInventory.cs
index 57ee7d9..a3c6cec 100644
--- a/OpenSim.Framework/AgentInventory.cs
+++ b/OpenSim.Framework/AgentInventory.cs
@@ -101,6 +101,19 @@ namespace OpenSim.Framework.Inventory
101 return false; 101 return false;
102 } 102 }
103 103
104 public LLUUID GetFolderID(string folderName)
105 {
106 foreach (InventoryFolder inv in this.InventoryFolders.Values)
107 {
108 if (inv.FolderName == folderName)
109 {
110 return inv.FolderID;
111 }
112 }
113
114 return LLUUID.Zero;
115 }
116
104 public bool UpdateItemAsset(LLUUID itemID, AssetBase asset) 117 public bool UpdateItemAsset(LLUUID itemID, AssetBase asset)
105 { 118 {
106 if(this.InventoryItems.ContainsKey(itemID)) 119 if(this.InventoryItems.ContainsKey(itemID))