aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/UserManager/UserManagerBase.cs
diff options
context:
space:
mode:
authorMW2007-07-19 20:21:02 +0000
committerMW2007-07-19 20:21:02 +0000
commitb2c6f316e16e9bb33f81997319a4130fa683bc48 (patch)
tree632f901a43267c2f3a7c0de8feff2e4ddc845275 /OpenSim/Framework/UserManager/UserManagerBase.cs
parent*Handler Functions can now refuse an object as invalid by returning false, th... (diff)
downloadopensim-SC_OLD-b2c6f316e16e9bb33f81997319a4130fa683bc48.zip
opensim-SC_OLD-b2c6f316e16e9bb33f81997319a4130fa683bc48.tar.gz
opensim-SC_OLD-b2c6f316e16e9bb33f81997319a4130fa683bc48.tar.bz2
opensim-SC_OLD-b2c6f316e16e9bb33f81997319a4130fa683bc48.tar.xz
Some work on Inventory (not yet finished or enabled)
Diffstat (limited to 'OpenSim/Framework/UserManager/UserManagerBase.cs')
-rw-r--r--OpenSim/Framework/UserManager/UserManagerBase.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Framework/UserManager/UserManagerBase.cs b/OpenSim/Framework/UserManager/UserManagerBase.cs
index 865adbe..c614300 100644
--- a/OpenSim/Framework/UserManager/UserManagerBase.cs
+++ b/OpenSim/Framework/UserManager/UserManagerBase.cs
@@ -417,7 +417,7 @@ namespace OpenSim.Framework.UserManagement
417 Hashtable TempHash; 417 Hashtable TempHash;
418 418
419 AgentInventory Library = new AgentInventory(); 419 AgentInventory Library = new AgentInventory();
420 Library.CreateRootFolder(AgentID, true); 420 Library.CreateRootFolder(AgentID, false);
421 421
422 foreach (InventoryFolder InvFolder in Library.InventoryFolders.Values) 422 foreach (InventoryFolder InvFolder in Library.InventoryFolders.Values)
423 { 423 {
@@ -434,6 +434,7 @@ namespace OpenSim.Framework.UserManagement
434 InventoryRootHash["folder_id"] = Library.InventoryRoot.FolderID.ToStringHyphenated(); 434 InventoryRootHash["folder_id"] = Library.InventoryRoot.FolderID.ToStringHyphenated();
435 ArrayList InventoryRoot = new ArrayList(); 435 ArrayList InventoryRoot = new ArrayList();
436 InventoryRoot.Add(InventoryRootHash); 436 InventoryRoot.Add(InventoryRootHash);
437 userProfile.rootInventoryFolderID = Library.InventoryRoot.FolderID;
437 438
438 // Circuit Code 439 // Circuit Code
439 uint circode = (uint)(Util.RandomClass.Next()); 440 uint circode = (uint)(Util.RandomClass.Next());