aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-08-25 01:09:12 +0100
committerJustin Clark-Casey (justincc)2012-08-25 01:09:12 +0100
commitf8a89a79eb8ae8cc2bfdcbbf2cb498e5293162c3 (patch)
treefe38d109fcb8e54151af755ee380c6e2cb363e0d
parentminor: Fix bad log message for failure to create an inventory folder (diff)
downloadopensim-SC_OLD-f8a89a79eb8ae8cc2bfdcbbf2cb498e5293162c3.zip
opensim-SC_OLD-f8a89a79eb8ae8cc2bfdcbbf2cb498e5293162c3.tar.gz
opensim-SC_OLD-f8a89a79eb8ae8cc2bfdcbbf2cb498e5293162c3.tar.bz2
opensim-SC_OLD-f8a89a79eb8ae8cc2bfdcbbf2cb498e5293162c3.tar.xz
Allow multiple calling card type inventory folders to be created.
Modern viewers want to create Friends and All folders of this type inside the root Calling Cards folder.
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/InventoryService/XInventoryService.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Services/InventoryService/XInventoryService.cs b/OpenSim/Services/InventoryService/XInventoryService.cs
index 7518b86..e10e0be 100644
--- a/OpenSim/Services/InventoryService/XInventoryService.cs
+++ b/OpenSim/Services/InventoryService/XInventoryService.cs
@@ -311,6 +311,7 @@ namespace OpenSim.Services.InventoryService
311 if (folder.Type == (short)AssetType.Folder 311 if (folder.Type == (short)AssetType.Folder
312 || folder.Type == (short)AssetType.Unknown 312 || folder.Type == (short)AssetType.Unknown
313 || folder.Type == (short)AssetType.OutfitFolder 313 || folder.Type == (short)AssetType.OutfitFolder
314 || folder.Type == (short)AssetType.CallingCard
314 || GetFolderForType(folder.Owner, (AssetType)(folder.Type)) == null) 315 || GetFolderForType(folder.Owner, (AssetType)(folder.Type)) == null)
315 { 316 {
316 XInventoryFolder xFolder = ConvertFromOpenSim(folder); 317 XInventoryFolder xFolder = ConvertFromOpenSim(folder);