aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorMelanie2010-07-13 20:45:16 +0100
committerMelanie2010-07-13 20:45:16 +0100
commitdd14016885d9c9a411ffc19b0afb0a6771d47cad (patch)
tree872758572e7aa7322965d4f0cbbc8b1fa52b307a /OpenSim/Region/Framework/Scenes/Scene.cs
parentAdd CreateSelected flag onto objects rezzed from inventory (diff)
downloadopensim-SC_OLD-dd14016885d9c9a411ffc19b0afb0a6771d47cad.zip
opensim-SC_OLD-dd14016885d9c9a411ffc19b0afb0a6771d47cad.tar.gz
opensim-SC_OLD-dd14016885d9c9a411ffc19b0afb0a6771d47cad.tar.bz2
opensim-SC_OLD-dd14016885d9c9a411ffc19b0afb0a6771d47cad.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.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index e2ab643..f7d2d37 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -4731,7 +4731,7 @@ namespace OpenSim.Region.Framework.Scenes
4731 part.NextOwnerMask; 4731 part.NextOwnerMask;
4732 item.GroupPermissions = part.GroupMask & 4732 item.GroupPermissions = part.GroupMask &
4733 part.NextOwnerMask; 4733 part.NextOwnerMask;
4734 item.CurrentPermissions |= 8; // Slam! 4734 item.CurrentPermissions |= 16; // Slam!
4735 item.CreationDate = Util.UnixTimeSinceEpoch(); 4735 item.CreationDate = Util.UnixTimeSinceEpoch();
4736 4736
4737 if (InventoryService.AddItem(item)) 4737 if (InventoryService.AddItem(item))