aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorBlueWall2012-05-18 19:34:19 -0400
committerBlueWall2012-05-18 19:34:19 -0400
commite338c1543332cfef1535ebb21b0401821b69a3f1 (patch)
treef367f61306981526f294ef3cdee66cc852a34a40
parentCleanup + change properties to set fields with private set : Thanks Justin fo... (diff)
parentEnable FetchInventoryDescendents2 and FetchInventory2 caps by default. This ... (diff)
downloadopensim-SC-e338c1543332cfef1535ebb21b0401821b69a3f1.zip
opensim-SC-e338c1543332cfef1535ebb21b0401821b69a3f1.tar.gz
opensim-SC-e338c1543332cfef1535ebb21b0401821b69a3f1.tar.bz2
opensim-SC-e338c1543332cfef1535ebb21b0401821b69a3f1.tar.xz
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
-rw-r--r--OpenSim/Services/InventoryService/XInventoryService.cs12
-rw-r--r--bin/OpenSimDefaults.ini9
2 files changed, 13 insertions, 8 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 }
diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini
index cb9ef22..7962ef8 100644
--- a/bin/OpenSimDefaults.ini
+++ b/bin/OpenSimDefaults.ini
@@ -601,13 +601,12 @@
601 Cap_ViewerStartAuction = "" 601 Cap_ViewerStartAuction = ""
602 Cap_ViewerStats = "" 602 Cap_ViewerStats = ""
603 603
604 ; The various fetch inventory caps are supported by OpenSim, but may 604 ; Capabilities for fetching inventory over HTTP rather than UDP
605 ; lead to poor sim performance if served by the simulators,
606 ; so they are currently disabled by default.
607 ; FetchInventoryDescendents2 and FetchInventory2 are the ones used in the latest Linden Lab viewers (from some point in the v2 series and above) 605 ; FetchInventoryDescendents2 and FetchInventory2 are the ones used in the latest Linden Lab viewers (from some point in the v2 series and above)
606 ; It appears that Linden Lab viewer 3.3.1 onwards will not work properly if FetchInventoryDescendents2 and FetchInventory2 are not enabled
608 Cap_WebFetchInventoryDescendents = "" 607 Cap_WebFetchInventoryDescendents = ""
609 Cap_FetchInventoryDescendents2 = "" 608 Cap_FetchInventoryDescendents2 = "localhost"
610 Cap_FetchInventory2 = "" 609 Cap_FetchInventory2 = "localhost"
611 610
612 611
613[Chat] 612[Chat]