diff options
author | Melanie Thielker | 2017-01-06 17:05:00 +0000 |
---|---|---|
committer | Melanie Thielker | 2017-01-06 17:05:00 +0000 |
commit | e526e8c5e225e931a5796532bf32b76530388089 (patch) | |
tree | 5673c473bef1e72550c2ef7c8bdfaf400a2fd908 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |
parent | Remove more calls to that horrible function (diff) | |
download | opensim-SC-e526e8c5e225e931a5796532bf32b76530388089.zip opensim-SC-e526e8c5e225e931a5796532bf32b76530388089.tar.gz opensim-SC-e526e8c5e225e931a5796532bf32b76530388089.tar.bz2 opensim-SC-e526e8c5e225e931a5796532bf32b76530388089.tar.xz |
Fix the long-standing bug that object permissions set in inventory were lost
NOTE: Items rezzed by users using 0.8 or older will still exhibit broken
behaviour. Until 0.8 becomes end of life, this fix will not produce
dependable results on grids with mixed versions. Grids based on 0.9 will
now work properly.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index b97cceb..99be06b 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -5242,6 +5242,7 @@ SendFullUpdateToClient(remoteClient, Position) ignores position parameter | |||
5242 | BaseMask &= NextOwnerMask | (uint)PermissionMask.Export; | 5242 | BaseMask &= NextOwnerMask | (uint)PermissionMask.Export; |
5243 | OwnerMask &= NextOwnerMask; | 5243 | OwnerMask &= NextOwnerMask; |
5244 | EveryoneMask &= NextOwnerMask | (uint)PermissionMask.Export; | 5244 | EveryoneMask &= NextOwnerMask | (uint)PermissionMask.Export; |
5245 | GroupMask = 0; // Giving an object zaps group permissions | ||
5245 | 5246 | ||
5246 | Inventory.ApplyNextOwnerPermissions(); | 5247 | Inventory.ApplyNextOwnerPermissions(); |
5247 | } | 5248 | } |