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.
0.7.4.1
Justin Clark-Casey (justincc) 2012-08-25 01:09:12 +01:00
parent 2358a623e3
commit 206eccc2b6
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);