diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 142143b..34461dc 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -276,7 +276,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
276 | { | 276 | { |
277 | if (UUID.Zero == transactionID) | 277 | if (UUID.Zero == transactionID) |
278 | { | 278 | { |
279 | |||
280 | item.Name = itemUpd.Name; | 279 | item.Name = itemUpd.Name; |
281 | item.Description = itemUpd.Description; | 280 | item.Description = itemUpd.Description; |
282 | item.NextPermissions = itemUpd.NextPermissions & item.BasePermissions; | 281 | item.NextPermissions = itemUpd.NextPermissions & item.BasePermissions; |
@@ -450,18 +449,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
450 | (uint)PermissionMask.Modify) != 0 ? | 449 | (uint)PermissionMask.Modify) != 0 ? |
451 | true : false; | 450 | true : false; |
452 | 451 | ||
453 | bool isRootCopy = (item.CurrentPermissions & | ||
454 | (uint)PermissionMask.Copy) != 0 ? | ||
455 | true : false; | ||
456 | |||
457 | // Mask the owner perms to the folded perms | 452 | // Mask the owner perms to the folded perms |
458 | ownerPerms &= foldedPerms; | 453 | ownerPerms &= foldedPerms; |
459 | 454 | ||
460 | // If the root was mod, let the mask reflect that | 455 | // If the root was mod, let the mask reflect that |
461 | if (isRootMod) | 456 | if (isRootMod) |
462 | ownerPerms |= (uint)PermissionMask.Modify; | 457 | ownerPerms |= (uint)PermissionMask.Modify; |
463 | if (isRootCopy) | ||
464 | ownerPerms |= (uint)PermissionMask.Copy; | ||
465 | } | 458 | } |
466 | 459 | ||
467 | // These will be applied to the root prim at next rez. | 460 | // These will be applied to the root prim at next rez. |