diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs index 90f1d6e..900130a 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPartInventory.cs | |||
@@ -946,6 +946,13 @@ namespace OpenSim.Region.Framework.Scenes | |||
946 | { | 946 | { |
947 | foreach (TaskInventoryItem item in m_items.Values) | 947 | foreach (TaskInventoryItem item in m_items.Values) |
948 | { | 948 | { |
949 | if ((item.CurrentPermissions & item.NextPermissions & (uint)PermissionMask.Copy) == 0) | ||
950 | mask &= ~((uint)PermissionMask.Copy >> 13); | ||
951 | if ((item.CurrentPermissions & item.NextPermissions & (uint)PermissionMask.Transfer) == 0) | ||
952 | mask &= ~((uint)PermissionMask.Transfer >> 13); | ||
953 | if ((item.CurrentPermissions & item.NextPermissions & (uint)PermissionMask.Modify) == 0) | ||
954 | mask &= ~((uint)PermissionMask.Modify >> 13); | ||
955 | |||
949 | if (item.InvType != (int)InventoryType.Object) | 956 | if (item.InvType != (int)InventoryType.Object) |
950 | { | 957 | { |
951 | if ((item.CurrentPermissions & item.NextPermissions & (uint)PermissionMask.Copy) == 0) | 958 | if ((item.CurrentPermissions & item.NextPermissions & (uint)PermissionMask.Copy) == 0) |