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
parent
e04047152f
commit
f8a89a79eb
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue