From c80322f1e69123922d9611b678e91323de97b835 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Tue, 5 Aug 2014 19:03:11 +0100 Subject: [PATCH] dont change agentItem.BasePermissions where avination-current didn't change --- OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 746b703031..8634a3a139 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 { uint perms = taskItem.CurrentPermissions; PermissionsUtil.ApplyFoldedPermissions(taskItem.CurrentPermissions, ref perms); - agentItem.BasePermissions = perms | (uint)PermissionMask.Move; - agentItem.CurrentPermissions = agentItem.BasePermissions; +// agentItem.BasePermissions = perms | (uint)PermissionMask.Move; +// agentItem.CurrentPermissions = agentItem.BasePermissions; + agentItem.CurrentPermissions = perms | (uint)PermissionMask.Move; } else {