From 6eca2475d4babfcf84aa40a885ff1e65e99a9420 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 5 Aug 2014 17:55:30 +0100 Subject: [PATCH] dont assume that all zero folded perms are to ignore ( coerence with old code in avn-current ) --- OpenSim/Framework/PermissionsUtil.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Framework/PermissionsUtil.cs b/OpenSim/Framework/PermissionsUtil.cs index d785a781f5..5d3186da62 100644 --- a/OpenSim/Framework/PermissionsUtil.cs +++ b/OpenSim/Framework/PermissionsUtil.cs @@ -72,8 +72,8 @@ namespace OpenSim.Framework /// The permissions variable to modify. public static void ApplyFoldedPermissions(uint foldedPerms, ref uint mainPerms) { - if ((foldedPerms & 7) == 0) - return; // assume that if the folded permissions are 0 then this means that they weren't actually recorded +// if ((foldedPerms & 7) == 0) +// return; // assume that if the folded permissions are 0 then this means that they weren't actually recorded if ((foldedPerms & ((uint)PermissionMask.Copy >> 13)) == 0) mainPerms &= ~(uint)PermissionMask.Copy;