aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Objects
diff options
context:
space:
mode:
authorUbitUmarov2017-04-29 22:09:45 +0100
committerUbitUmarov2017-04-29 22:09:45 +0100
commit522695c821c9f68d6c13533220de428f0d036dd7 (patch)
treeab368d8fba08a87a83e9c96e1257fef40871d191 /OpenSim/Region/CoreModules/World/Objects
parent recover PermissionsUtil.ApplyFoldedPermissions (well my version). its use ea... (diff)
downloadopensim-SC-522695c821c9f68d6c13533220de428f0d036dd7.zip
opensim-SC-522695c821c9f68d6c13533220de428f0d036dd7.tar.gz
opensim-SC-522695c821c9f68d6c13533220de428f0d036dd7.tar.bz2
opensim-SC-522695c821c9f68d6c13533220de428f0d036dd7.tar.xz
update folded permitions if taking from world, or after unfold
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Objects')
-rw-r--r--OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs b/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs
index 84f33d1..af53aa3 100644
--- a/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs
+++ b/OpenSim/Region/CoreModules/World/Objects/BuySell/BuySellModule.cs
@@ -210,9 +210,9 @@ namespace OpenSim.Region.CoreModules.World.Objects.BuySell
210 210
211 PermissionsUtil.ApplyFoldedPermissions(perms, ref perms); 211 PermissionsUtil.ApplyFoldedPermissions(perms, ref perms);
212 212
213 item.BasePermissions = perms & part.NextOwnerMask; 213 perms &= part.NextOwnerMask;
214 214
215// we need to rebuild folded here 215 item.BasePermissions = PermissionsUtil.FixAndFoldPermissions(perms);
216 216
217 item.CurrentPermissions = item.BasePermissions; 217 item.CurrentPermissions = item.BasePermissions;
218 item.NextPermissions = part.NextOwnerMask; 218 item.NextPermissions = part.NextOwnerMask;