diff options
author | Melanie | 2012-05-19 13:34:44 +0100 |
---|---|---|
committer | Melanie | 2012-05-19 13:34:44 +0100 |
commit | ebd9d2618bc88eafdc0bbf86c9f1755476cc68e4 (patch) | |
tree | 2d63da14ca345487a27f2202b2490eae0d86b60c /OpenSim/Services | |
parent | Merge branch 'avination' into careminster (diff) | |
parent | Remove recent IRegionCombinerModule.IsMegaregion(). In theory, there can be ... (diff) | |
download | opensim-SC-ebd9d2618bc88eafdc0bbf86c9f1755476cc68e4.zip opensim-SC-ebd9d2618bc88eafdc0bbf86c9f1755476cc68e4.tar.gz opensim-SC-ebd9d2618bc88eafdc0bbf86c9f1755476cc68e4.tar.bz2 opensim-SC-ebd9d2618bc88eafdc0bbf86c9f1755476cc68e4.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/Framework/Scenes/Scene.cs
OpenSim/Region/RegionCombinerModule/RegionCombinerModule.cs
Diffstat (limited to 'OpenSim/Services')
-rw-r--r-- | OpenSim/Services/InventoryService/XInventoryService.cs | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/OpenSim/Services/InventoryService/XInventoryService.cs b/OpenSim/Services/InventoryService/XInventoryService.cs index 15156d0..eed88bd 100644 --- a/OpenSim/Services/InventoryService/XInventoryService.cs +++ b/OpenSim/Services/InventoryService/XInventoryService.cs | |||
@@ -307,14 +307,20 @@ namespace OpenSim.Services.InventoryService | |||
307 | if (check != null) | 307 | if (check != null) |
308 | return false; | 308 | return false; |
309 | 309 | ||
310 | if (folder.Type == (short)AssetType.Folder || folder.Type == (short)AssetType.Unknown || | 310 | if (folder.Type == (short)AssetType.Folder |
311 | GetFolderForType(folder.Owner, (AssetType)(folder.Type)) == null) | 311 | || folder.Type == (short)AssetType.Unknown |
312 | || folder.Type == (short)AssetType.OutfitFolder | ||
313 | || GetFolderForType(folder.Owner, (AssetType)(folder.Type)) == null) | ||
312 | { | 314 | { |
313 | XInventoryFolder xFolder = ConvertFromOpenSim(folder); | 315 | XInventoryFolder xFolder = ConvertFromOpenSim(folder); |
314 | return m_Database.StoreFolder(xFolder); | 316 | return m_Database.StoreFolder(xFolder); |
315 | } | 317 | } |
316 | else | 318 | else |
317 | m_log.DebugFormat("[XINVENTORY]: Folder {0} of type {1} already exists", folder.Name, folder.Type); | 319 | { |
320 | m_log.WarnFormat( | ||
321 | "[XINVENTORY]: Folder of type {0} already exists when tried to add {1} to {2} for {3}", | ||
322 | folder.Type, folder.Name, folder.ParentID, folder.Owner); | ||
323 | } | ||
318 | 324 | ||
319 | return false; | 325 | return false; |
320 | } | 326 | } |