aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorUbitUmarov2014-08-05 19:03:11 +0100
committerUbitUmarov2014-08-05 19:03:11 +0100
commitc80322f1e69123922d9611b678e91323de97b835 (patch)
treef22a045b364ca882644377e146d3f4dc06a1caba /OpenSim/Region/Framework
parentdont assume that all zero folded perms are to ignore ( coerence with old (diff)
downloadopensim-SC_OLD-c80322f1e69123922d9611b678e91323de97b835.zip
opensim-SC_OLD-c80322f1e69123922d9611b678e91323de97b835.tar.gz
opensim-SC_OLD-c80322f1e69123922d9611b678e91323de97b835.tar.bz2
opensim-SC_OLD-c80322f1e69123922d9611b678e91323de97b835.tar.xz
dont change agentItem.BasePermissions where avination-current didn't
change
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.Inventory.cs5
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 {