From fd96bb6f437d98d5cb8453be281a107dd0dfc129 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Mon, 6 Oct 2008 03:27:16 +0000 Subject: One should not commit even the smallest fox without compile. Fix build break --- .../Region/Environment/Scenes/SceneObjectGroup.Inventory.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'OpenSim/Region') diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs index 1b2ee7d..24ebc48 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs @@ -255,18 +255,18 @@ namespace OpenSim.Region.Environment.Scenes perms &= part.MaskEffectivePermissions(); } - if (ownerMask & (uint)PermissionMask.Modify) == 0) + if ((ownerMask & (uint)PermissionMask.Modify) == 0) perms &= ~(uint)PermissionMask.Modify; - if (ownerMask & (uint)PermissionMask.Copy) == 0) + if ((ownerMask & (uint)PermissionMask.Copy) == 0) perms &= ~(uint)PermissionMask.Copy; - if (ownerMask & (uint)PermissionMask.Transfer) == 0) + if ((ownerMask & (uint)PermissionMask.Transfer) == 0) perms &= ~(uint)PermissionMask.Transfer; - if (ownerMask & RootPart.NextOwnerMask & (uint)PermissionMask.Modify) == 0) + if ((ownerMask & RootPart.NextOwnerMask & (uint)PermissionMask.Modify) == 0) perms &= ~((uint)PermissionMask.Modify >> 13); - if (ownerMask & RootPart.NextOwnerMask & (uint)PermissionMask.Copy) == 0) + if ((ownerMask & RootPart.NextOwnerMask & (uint)PermissionMask.Copy) == 0) perms &= ~((uint)PermissionMask.Copy >> 13); - if (ownerMask & RootPart.NextOwnerMask & (uint)PermissionMask.Transfer) == 0) + if ((ownerMask & RootPart.NextOwnerMask & (uint)PermissionMask.Transfer) == 0) perms &= ~((uint)PermissionMask.Transfer >> 13); return perms; -- cgit v1.1