dont change agentItem.BasePermissions where avination-current didn't

change
avinationmerge
UbitUmarov 2014-08-05 19:03:11 +01:00
parent 6eca2475d4
commit c80322f1e6
1 changed files with 3 additions and 2 deletions

View File

@ -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
{