aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.Framework/AgentInventory.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/AgentInventory.cs
parent* vs2005 target gens OpenSim.csporj.user with -loginserver -sandbox -accounts... (diff)
downloadopensim-SC-f673b73471dd450881006a5281c15b4b70c96b2d.zip
opensim-SC-f673b73471dd450881006a5281c15b4b70c96b2d.tar.gz
opensim-SC-f673b73471dd450881006a5281c15b4b70c96b2d.tar.bz2
opensim-SC-f673b73471dd450881006a5281c15b4b70c96b2d.tar.xz
Fixed so Inventory structure is correct after a log out and re-login (in Sandbox accounts)
Diffstat (limited to 'OpenSim.Framework/AgentInventory.cs')
-rw-r--r--OpenSim.Framework/AgentInventory.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim.Framework/AgentInventory.cs b/OpenSim.Framework/AgentInventory.cs
index 1abf59a..8032455 100644
--- a/OpenSim.Framework/AgentInventory.cs
+++ b/OpenSim.Framework/AgentInventory.cs
@@ -33,7 +33,7 @@ namespace OpenSim.Framework.Inventory
33 33
34 InventoryRoot = new InventoryFolder(); 34 InventoryRoot = new InventoryFolder();
35 InventoryRoot.FolderID = LLUUID.Random(); 35 InventoryRoot.FolderID = LLUUID.Random();
36 InventoryRoot.ParentID = new LLUUID(); 36 InventoryRoot.ParentID = LLUUID.Zero;
37 InventoryRoot.Version = 1; 37 InventoryRoot.Version = 1;
38 InventoryRoot.DefaultType = 8; 38 InventoryRoot.DefaultType = 8;
39 InventoryRoot.OwnerID = this.AgentID; 39 InventoryRoot.OwnerID = this.AgentID;
@@ -84,6 +84,7 @@ namespace OpenSim.Framework.Inventory
84 84
85 public bool CreateNewFolder(LLUUID folderID, ushort type, string folderName, LLUUID parent) 85 public bool CreateNewFolder(LLUUID folderID, ushort type, string folderName, LLUUID parent)
86 { 86 {
87 Console.WriteLine("creating new folder called " + folderName + " in agents inventory");
87 InventoryFolder Folder = new InventoryFolder(); 88 InventoryFolder Folder = new InventoryFolder();
88 Folder.FolderID = folderID; 89 Folder.FolderID = folderID;
89 Folder.OwnerID = this.AgentID; 90 Folder.OwnerID = this.AgentID;