aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.Framework/UserProfileManager.cs
diff options
context:
space:
mode:
authorMW2007-03-29 17:04:24 +0000
committerMW2007-03-29 17:04:24 +0000
commitf673b73471dd450881006a5281c15b4b70c96b2d (patch)
treebfefbf0ef295d9a8685818c8f4c3d1fd94aa831f /OpenSim.Framework/UserProfileManager.cs
parent* vs2005 target gens OpenSim.csporj.user with -loginserver -sandbox -accounts... (diff)
downloadopensim-SC_OLD-f673b73471dd450881006a5281c15b4b70c96b2d.zip
opensim-SC_OLD-f673b73471dd450881006a5281c15b4b70c96b2d.tar.gz
opensim-SC_OLD-f673b73471dd450881006a5281c15b4b70c96b2d.tar.bz2
opensim-SC_OLD-f673b73471dd450881006a5281c15b4b70c96b2d.tar.xz
Fixed so Inventory structure is correct after a log out and re-login (in Sandbox accounts)
Diffstat (limited to '')
-rw-r--r--OpenSim.Framework/UserProfileManager.cs2
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;