From 6eca2475d4babfcf84aa40a885ff1e65e99a9420 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 5 Aug 2014 17:55:30 +0100 Subject: 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(-) (limited to 'OpenSim/Framework/PermissionsUtil.cs') diff --git a/OpenSim/Framework/PermissionsUtil.cs b/OpenSim/Framework/PermissionsUtil.cs index d785a78..5d3186d 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; -- cgit v1.1