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
parent
2358a623e3
commit
206eccc2b6
|
@ -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