Harmonize case in Permissions enum
parent
dafb362b60
commit
c74fa02d87
|
@ -63,11 +63,12 @@ namespace OpenSim.Framework
|
|||
None = 0,
|
||||
|
||||
// folded perms
|
||||
foldedTransfer = 1,
|
||||
foldedModify = 1 << 1,
|
||||
foldedCopy = 1 << 2,
|
||||
FoldedTransfer = 1,
|
||||
FoldedModify = 1 << 1,
|
||||
FoldedCopy = 1 << 2,
|
||||
FoldedExport = 1 << 4,
|
||||
|
||||
foldedMask = 0x07,
|
||||
FoldedMask = 0x17,
|
||||
|
||||
//
|
||||
Transfer = 1 << 13,
|
||||
|
|
|
@ -129,9 +129,9 @@ namespace OpenSim.Tests.Common
|
|||
item.AssetType = asset.Type;
|
||||
item.InvType = (int)itemType;
|
||||
item.BasePermissions = (uint)OpenMetaverse.PermissionMask.All |
|
||||
(uint)(Framework.PermissionMask.foldedMask | Framework.PermissionMask.foldedCopy | Framework.PermissionMask.foldedModify | Framework.PermissionMask.foldedTransfer);
|
||||
(uint)(Framework.PermissionMask.FoldedMask | Framework.PermissionMask.FoldedCopy | Framework.PermissionMask.FoldedModify | Framework.PermissionMask.FoldedTransfer);
|
||||
item.CurrentPermissions = (uint)OpenMetaverse.PermissionMask.All |
|
||||
(uint)(Framework.PermissionMask.foldedMask | Framework.PermissionMask.foldedCopy | Framework.PermissionMask.foldedModify | Framework.PermissionMask.foldedTransfer);
|
||||
(uint)(Framework.PermissionMask.FoldedMask | Framework.PermissionMask.FoldedCopy | Framework.PermissionMask.FoldedModify | Framework.PermissionMask.FoldedTransfer);
|
||||
|
||||
InventoryFolderBase folder = InventoryArchiveUtils.FindFoldersByPath(scene.InventoryService, userId, path)[0];
|
||||
|
||||
|
|
Loading…
Reference in New Issue