just give up on Export flag, seems just broken no matter water with current FS and singu 1.8.7

This commit is contained in:
UbitUmarov
2016-12-18 03:20:41 +00:00
parent c93551d8f4
commit df7435a703
2 changed files with 8 additions and 2 deletions

View File

@@ -258,7 +258,8 @@ namespace OpenSim.Region.Framework.Scenes
uint perms=(uint)(PermissionMask.Modify |
PermissionMask.Copy |
PermissionMask.Move |
PermissionMask.Transfer) | 7;
PermissionMask.Transfer |
PermissionMask.Export ) | 7;
uint ownerMask = 0x7fffffff;
@@ -281,6 +282,8 @@ namespace OpenSim.Region.Framework.Scenes
perms &= ~(uint)PermissionMask.Copy;
if ((ownerMask & (uint)PermissionMask.Transfer) == 0)
perms &= ~(uint)PermissionMask.Transfer;
if ((ownerMask & (uint)PermissionMask.Export) == 0)
perms &= ~(uint)PermissionMask.Export;
// If root prim permissions are applied here, this would screw
// with in-inventory manipulation of the next owner perms