diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs index 68d80f0..98617d1 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs | |||
@@ -258,8 +258,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
258 | uint perms=(uint)(PermissionMask.Modify | | 258 | uint perms=(uint)(PermissionMask.Modify | |
259 | PermissionMask.Copy | | 259 | PermissionMask.Copy | |
260 | PermissionMask.Move | | 260 | PermissionMask.Move | |
261 | PermissionMask.Transfer | | 261 | PermissionMask.Transfer) | 7; |
262 | PermissionMask.Export ) | 7; | ||
263 | 262 | ||
264 | uint ownerMask = 0x7fffffff; | 263 | uint ownerMask = 0x7fffffff; |
265 | 264 | ||
@@ -282,8 +281,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
282 | perms &= ~(uint)PermissionMask.Copy; | 281 | perms &= ~(uint)PermissionMask.Copy; |
283 | if ((ownerMask & (uint)PermissionMask.Transfer) == 0) | 282 | if ((ownerMask & (uint)PermissionMask.Transfer) == 0) |
284 | perms &= ~(uint)PermissionMask.Transfer; | 283 | perms &= ~(uint)PermissionMask.Transfer; |
285 | if ((ownerMask & (uint)PermissionMask.Export) == 0) | ||
286 | perms &= ~(uint)PermissionMask.Export; | ||
287 | 284 | ||
288 | // If root prim permissions are applied here, this would screw | 285 | // If root prim permissions are applied here, this would screw |
289 | // with in-inventory manipulation of the next owner perms | 286 | // with in-inventory manipulation of the next owner perms |