diff options
Fixed so Inventory structure is correct after a log out and re-login (in Sandbox accounts)
Diffstat (limited to 'OpenSim.Framework/UserProfileManager.cs')
-rw-r--r-- | OpenSim.Framework/UserProfileManager.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim.Framework/UserProfileManager.cs b/OpenSim.Framework/UserProfileManager.cs index ef5ab71..2f99494 100644 --- a/OpenSim.Framework/UserProfileManager.cs +++ b/OpenSim.Framework/UserProfileManager.cs | |||
@@ -287,9 +287,11 @@ namespace OpenSim.Framework.User | |||
287 | ClassifiedCategories.Add(ClassifiedCategoriesHash); | 287 | ClassifiedCategories.Add(ClassifiedCategoriesHash); |
288 | 288 | ||
289 | ArrayList AgentInventory = new ArrayList(); | 289 | ArrayList AgentInventory = new ArrayList(); |
290 | Console.WriteLine("adding inventory to response"); | ||
290 | foreach (InventoryFolder InvFolder in TheUser.Inventory.InventoryFolders.Values) | 291 | foreach (InventoryFolder InvFolder in TheUser.Inventory.InventoryFolders.Values) |
291 | { | 292 | { |
292 | Hashtable TempHash = new Hashtable(); | 293 | Hashtable TempHash = new Hashtable(); |
294 | Console.WriteLine("adding folder " + InvFolder.FolderName + ", ID: " + InvFolder.FolderID.ToStringHyphenated() + " with parent: " + InvFolder.ParentID.ToStringHyphenated()); | ||
293 | TempHash["name"] = InvFolder.FolderName; | 295 | TempHash["name"] = InvFolder.FolderName; |
294 | TempHash["parent_id"] = InvFolder.ParentID.ToStringHyphenated(); | 296 | TempHash["parent_id"] = InvFolder.ParentID.ToStringHyphenated(); |
295 | TempHash["version"] = (Int32)InvFolder.Version; | 297 | TempHash["version"] = (Int32)InvFolder.Version; |