diff options
author | UbitUmarov | 2014-08-05 19:03:11 +0100 |
---|---|---|
committer | UbitUmarov | 2014-08-05 19:03:11 +0100 |
commit | c80322f1e69123922d9611b678e91323de97b835 (patch) | |
tree | f22a045b364ca882644377e146d3f4dc06a1caba /OpenSim/Region/Framework/Scenes | |
parent | dont assume that all zero folded perms are to ignore ( coerence with old (diff) | |
download | opensim-SC-c80322f1e69123922d9611b678e91323de97b835.zip opensim-SC-c80322f1e69123922d9611b678e91323de97b835.tar.gz opensim-SC-c80322f1e69123922d9611b678e91323de97b835.tar.bz2 opensim-SC-c80322f1e69123922d9611b678e91323de97b835.tar.xz |
dont change agentItem.BasePermissions where avination-current didn't
change
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 746b703..8634a3a 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -1234,8 +1234,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
1234 | { | 1234 | { |
1235 | uint perms = taskItem.CurrentPermissions; | 1235 | uint perms = taskItem.CurrentPermissions; |
1236 | PermissionsUtil.ApplyFoldedPermissions(taskItem.CurrentPermissions, ref perms); | 1236 | PermissionsUtil.ApplyFoldedPermissions(taskItem.CurrentPermissions, ref perms); |
1237 | agentItem.BasePermissions = perms | (uint)PermissionMask.Move; | 1237 | // agentItem.BasePermissions = perms | (uint)PermissionMask.Move; |
1238 | agentItem.CurrentPermissions = agentItem.BasePermissions; | 1238 | // agentItem.CurrentPermissions = agentItem.BasePermissions; |
1239 | agentItem.CurrentPermissions = perms | (uint)PermissionMask.Move; | ||
1239 | } | 1240 | } |
1240 | else | 1241 | else |
1241 | { | 1242 | { |