diff options
author | Melanie Thielker | 2008-11-27 03:54:43 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-11-27 03:54:43 +0000 |
commit | d9c05a6def2c3719de532507ff9f2c60e930a1f4 (patch) | |
tree | c6ba48b65a7af4bfdd8925ad9ac322427cd8c6cf | |
parent | Fix permission propagation that was broken some revision back, causing (diff) | |
download | opensim-SC-d9c05a6def2c3719de532507ff9f2c60e930a1f4.zip opensim-SC-d9c05a6def2c3719de532507ff9f2c60e930a1f4.tar.gz opensim-SC-d9c05a6def2c3719de532507ff9f2c60e930a1f4.tar.bz2 opensim-SC-d9c05a6def2c3719de532507ff9f2c60e930a1f4.tar.xz |
Cause the slam bit to be set in transferred inv items
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs index 3f94a7e..793d31b 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPartInventory.cs | |||
@@ -784,6 +784,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
784 | item.CurrentPermissions &= ~(uint)PermissionMask.Transfer; | 784 | item.CurrentPermissions &= ~(uint)PermissionMask.Transfer; |
785 | if ((item.CurrentPermissions & ((uint)PermissionMask.Modify >> 13)) == 0) | 785 | if ((item.CurrentPermissions & ((uint)PermissionMask.Modify >> 13)) == 0) |
786 | item.CurrentPermissions &= ~(uint)PermissionMask.Modify; | 786 | item.CurrentPermissions &= ~(uint)PermissionMask.Modify; |
787 | item.CurrentPermissions |= 8; | ||
787 | } | 788 | } |
788 | item.CurrentPermissions &= item.NextPermissions; | 789 | item.CurrentPermissions &= item.NextPermissions; |
789 | item.BasePermissions &= item.NextPermissions; | 790 | item.BasePermissions &= item.NextPermissions; |