diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/UserProfileCache.cs | 9 | ||||
-rw-r--r-- | OpenSim/Grid/InventoryServer/GridInventoryService.cs | 1 |
2 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Framework/Communications/Cache/UserProfileCache.cs b/OpenSim/Framework/Communications/Cache/UserProfileCache.cs index 379ac9d..3c8ab51 100644 --- a/OpenSim/Framework/Communications/Cache/UserProfileCache.cs +++ b/OpenSim/Framework/Communications/Cache/UserProfileCache.cs | |||
@@ -96,7 +96,14 @@ namespace OpenSim.Framework.Communications.Cache | |||
96 | 96 | ||
97 | if (createdFolder != null) | 97 | if (createdFolder != null) |
98 | { | 98 | { |
99 | m_parent.InventoryService.AddNewInventoryFolder(remoteClient.AgentId, createdFolder); | 99 | InventoryFolderBase createdBaseFolder = new InventoryFolderBase(); |
100 | createdBaseFolder.agentID = createdFolder.agentID; | ||
101 | createdBaseFolder.folderID = createdFolder.folderID; | ||
102 | createdBaseFolder.name = createdFolder.name; | ||
103 | createdBaseFolder.parentID = createdFolder.parentID; | ||
104 | createdBaseFolder.type = createdFolder.type; | ||
105 | createdBaseFolder.version = createdFolder.version; | ||
106 | m_parent.InventoryService.AddNewInventoryFolder(remoteClient.AgentId, createdBaseFolder); | ||
100 | } | 107 | } |
101 | } | 108 | } |
102 | else | 109 | else |
diff --git a/OpenSim/Grid/InventoryServer/GridInventoryService.cs b/OpenSim/Grid/InventoryServer/GridInventoryService.cs index 6983259..47e4e9a 100644 --- a/OpenSim/Grid/InventoryServer/GridInventoryService.cs +++ b/OpenSim/Grid/InventoryServer/GridInventoryService.cs | |||
@@ -81,6 +81,7 @@ namespace OpenSim.Grid.InventoryServer | |||
81 | 81 | ||
82 | public bool AddInventoryFolder( InventoryFolderBase folder) | 82 | public bool AddInventoryFolder( InventoryFolderBase folder) |
83 | { | 83 | { |
84 | Console.WriteLine("creating new folder for " + folder.agentID.ToString()); | ||
84 | AddNewInventoryFolder(folder.agentID, folder); | 85 | AddNewInventoryFolder(folder.agentID, folder); |
85 | return true; | 86 | return true; |
86 | } | 87 | } |