aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs10
1 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs b/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs
index a33fa67..437e5e4 100644
--- a/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs
+++ b/OpenSim/Framework/Communications/Cache/LibraryRootFolder.cs
@@ -178,8 +178,14 @@ namespace OpenSim.Framework.Communications.Cache
178 if (libraryFolders.ContainsKey(item.Folder)) 178 if (libraryFolders.ContainsKey(item.Folder))
179 { 179 {
180 InventoryFolderImpl parentFolder = libraryFolders[item.Folder]; 180 InventoryFolderImpl parentFolder = libraryFolders[item.Folder];
181 181 try
182 parentFolder.Items.Add(item.ID, item); 182 {
183 parentFolder.Items.Add(item.ID, item);
184 }
185 catch (Exception)
186 {
187 m_log.WarnFormat("[LIBRARY INVENTORY] Item {1} [{0}] not added, duplicate item", item.ID, item.Name);
188 }
183 } 189 }
184 else 190 else
185 { 191 {