diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/AgentInventory.cs | 6 |
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) |