aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/AgentInventory.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-03-28 16:27:29 +0000
committerJustin Clarke Casey2008-03-28 16:27:29 +0000
commit512e52be4cd0c942105ef5bec71ac8b78ffe02c1 (patch)
tree4d82df98acfbdc26da0433a2f4a456d41203fc8e /OpenSim/Framework/AgentInventory.cs
parentfixes mantis #778 and shoots himself for making such a mistake to begin with,... (diff)
downloadopensim-SC-512e52be4cd0c942105ef5bec71ac8b78ffe02c1.zip
opensim-SC-512e52be4cd0c942105ef5bec71ac8b78ffe02c1.tar.gz
opensim-SC-512e52be4cd0c942105ef5bec71ac8b78ffe02c1.tar.bz2
opensim-SC-512e52be4cd0c942105ef5bec71ac8b78ffe02c1.tar.xz
* Remove pointless boolean on AgentInventory.CreateRootFolder()
Diffstat (limited to 'OpenSim/Framework/AgentInventory.cs')
-rw-r--r--OpenSim/Framework/AgentInventory.cs6
1 files changed, 1 insertions, 5 deletions
diff --git a/OpenSim/Framework/AgentInventory.cs b/OpenSim/Framework/AgentInventory.cs
index aa56be1..916cdf8 100644
--- a/OpenSim/Framework/AgentInventory.cs
+++ b/OpenSim/Framework/AgentInventory.cs
@@ -67,7 +67,7 @@ namespace OpenSim.Framework
67 return (true); 67 return (true);
68 } 68 }
69 69
70 public void CreateRootFolder(LLUUID newAgentID, bool createTextures) 70 public void CreateRootFolder(LLUUID newAgentID)
71 { 71 {
72 AgentID = newAgentID; 72 AgentID = newAgentID;
73 InventoryRoot = new InventoryFolder(); 73 InventoryRoot = new InventoryFolder();
@@ -79,10 +79,6 @@ namespace OpenSim.Framework
79 InventoryRoot.FolderName = "My Inventory"; 79 InventoryRoot.FolderName = "My Inventory";
80 InventoryFolders.Add(InventoryRoot.FolderID, InventoryRoot); 80 InventoryFolders.Add(InventoryRoot.FolderID, InventoryRoot);
81 InventoryRoot.OwnerID = AgentID; 81 InventoryRoot.OwnerID = AgentID;
82 if (createTextures)
83 {
84 CreateNewFolder(LLUUID.Random(), 0, "Textures", InventoryRoot.FolderID);
85 }
86 } 82 }
87 83
88 public bool CreateNewFolder(LLUUID folderID, ushort type, string folderName) 84 public bool CreateNewFolder(LLUUID folderID, ushort type, string folderName)