aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Communications/Cache/UserProfileCache.cs9
1 files changed, 8 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