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.
integration
Justin Clark-Casey (justincc) 2012-08-25 01:09:12 +01:00
parent e04047152f
commit f8a89a79eb
1 changed files with 1 additions and 0 deletions

View File

@ -311,6 +311,7 @@ namespace OpenSim.Services.InventoryService
if (folder.Type == (short)AssetType.Folder if (folder.Type == (short)AssetType.Folder
|| folder.Type == (short)AssetType.Unknown || folder.Type == (short)AssetType.Unknown
|| folder.Type == (short)AssetType.OutfitFolder || folder.Type == (short)AssetType.OutfitFolder
|| folder.Type == (short)AssetType.CallingCard
|| GetFolderForType(folder.Owner, (AssetType)(folder.Type)) == null) || GetFolderForType(folder.Owner, (AssetType)(folder.Type)) == null)
{ {
XInventoryFolder xFolder = ConvertFromOpenSim(folder); XInventoryFolder xFolder = ConvertFromOpenSim(folder);