some more suport for a new inventory and asset type

This commit is contained in:
UbitUmarov
2020-05-27 00:04:01 +01:00
parent 182b266ec4
commit 563d5d30ee
3 changed files with 5 additions and 4 deletions

View File

@@ -226,7 +226,6 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
groupmask = (uint)PermissionMask.AllAndExport;
everyonemask = (uint)(PermissionMask.AllAndExport & ~PermissionMask.Modify);
}
/*
if(assetType == (byte)AssetType.Settings)
{
if(data == null)
@@ -244,9 +243,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess
}
flags = subType;
}
else
*/
if( assetType == (byte)AssetType.Clothing ||
else if( assetType == (byte)AssetType.Clothing ||
assetType == (byte)AssetType.Bodypart)
flags = subType;