aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.Framework/AgentInventory.cs
diff options
context:
space:
mode:
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;