diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.Inventory.cs | 12 |
1 files changed, 6 insertions, 6 deletions
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 | |||
255 | perms &= part.MaskEffectivePermissions(); | 255 | perms &= part.MaskEffectivePermissions(); |
256 | } | 256 | } |
257 | 257 | ||
258 | if (ownerMask & (uint)PermissionMask.Modify) == 0) | 258 | if ((ownerMask & (uint)PermissionMask.Modify) == 0) |
259 | perms &= ~(uint)PermissionMask.Modify; | 259 | perms &= ~(uint)PermissionMask.Modify; |
260 | if (ownerMask & (uint)PermissionMask.Copy) == 0) | 260 | if ((ownerMask & (uint)PermissionMask.Copy) == 0) |
261 | perms &= ~(uint)PermissionMask.Copy; | 261 | perms &= ~(uint)PermissionMask.Copy; |
262 | if (ownerMask & (uint)PermissionMask.Transfer) == 0) | 262 | if ((ownerMask & (uint)PermissionMask.Transfer) == 0) |
263 | perms &= ~(uint)PermissionMask.Transfer; | 263 | perms &= ~(uint)PermissionMask.Transfer; |
264 | 264 | ||
265 | if (ownerMask & RootPart.NextOwnerMask & (uint)PermissionMask.Modify) == 0) | 265 | if ((ownerMask & RootPart.NextOwnerMask & (uint)PermissionMask.Modify) == 0) |
266 | perms &= ~((uint)PermissionMask.Modify >> 13); | 266 | perms &= ~((uint)PermissionMask.Modify >> 13); |
267 | if (ownerMask & RootPart.NextOwnerMask & (uint)PermissionMask.Copy) == 0) | 267 | if ((ownerMask & RootPart.NextOwnerMask & (uint)PermissionMask.Copy) == 0) |
268 | perms &= ~((uint)PermissionMask.Copy >> 13); | 268 | perms &= ~((uint)PermissionMask.Copy >> 13); |
269 | if (ownerMask & RootPart.NextOwnerMask & (uint)PermissionMask.Transfer) == 0) | 269 | if ((ownerMask & RootPart.NextOwnerMask & (uint)PermissionMask.Transfer) == 0) |
270 | perms &= ~((uint)PermissionMask.Transfer >> 13); | 270 | perms &= ~((uint)PermissionMask.Transfer >> 13); |
271 | 271 | ||
272 | return perms; | 272 | return perms; |