diff options
author | Melanie Thielker | 2010-07-13 20:40:23 +0200 |
---|---|---|
committer | Melanie Thielker | 2010-07-13 20:40:23 +0200 |
commit | 89c1c5c35a7665315e66e46276d1b6066f3cf2b8 (patch) | |
tree | b1edf0bac0289ea41b62b7d21672343d7546292c /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Add CreateSelected flag onto objects rezzed from inventory (diff) | |
download | opensim-SC_OLD-89c1c5c35a7665315e66e46276d1b6066f3cf2b8.zip opensim-SC_OLD-89c1c5c35a7665315e66e46276d1b6066f3cf2b8.tar.gz opensim-SC_OLD-89c1c5c35a7665315e66e46276d1b6066f3cf2b8.tar.bz2 opensim-SC_OLD-89c1c5c35a7665315e66e46276d1b6066f3cf2b8.tar.xz |
Revamp the permissions propagation. This MAY mess up. Please test.
Change the slam bit from 3 to 4. Assume the old slam bit is always set.
The new slam bit is a "changed owner" bit, correcting a bug where an item
passed from the creator to another with less than full perms, then back (sale
test) would arrive back full perm. Lots of in-code docs.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index c5fb198..d323e19 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -4818,7 +4818,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
4818 | part.NextOwnerMask; | 4818 | part.NextOwnerMask; |
4819 | item.GroupPermissions = part.GroupMask & | 4819 | item.GroupPermissions = part.GroupMask & |
4820 | part.NextOwnerMask; | 4820 | part.NextOwnerMask; |
4821 | item.CurrentPermissions |= 8; // Slam! | 4821 | item.CurrentPermissions |= 16; // Slam! |
4822 | item.CreationDate = Util.UnixTimeSinceEpoch(); | 4822 | item.CreationDate = Util.UnixTimeSinceEpoch(); |
4823 | 4823 | ||
4824 | if (InventoryService.AddItem(item)) | 4824 | if (InventoryService.AddItem(item)) |