aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/UserAccountService/UserAccountService.cs
diff options
context:
space:
mode:
authorMelanie Thielker2017-01-06 17:05:00 +0000
committerMelanie Thielker2017-01-06 17:05:00 +0000
commite526e8c5e225e931a5796532bf32b76530388089 (patch)
tree5673c473bef1e72550c2ef7c8bdfaf400a2fd908 /OpenSim/Services/UserAccountService/UserAccountService.cs
parentRemove more calls to that horrible function (diff)
downloadopensim-SC-e526e8c5e225e931a5796532bf32b76530388089.zip
opensim-SC-e526e8c5e225e931a5796532bf32b76530388089.tar.gz
opensim-SC-e526e8c5e225e931a5796532bf32b76530388089.tar.bz2
opensim-SC-e526e8c5e225e931a5796532bf32b76530388089.tar.xz
Fix the long-standing bug that object permissions set in inventory were lost
NOTE: Items rezzed by users using 0.8 or older will still exhibit broken behaviour. Until 0.8 becomes end of life, this fix will not produce dependable results on grids with mixed versions. Grids based on 0.9 will now work properly.
Diffstat (limited to 'OpenSim/Services/UserAccountService/UserAccountService.cs')
-rw-r--r--OpenSim/Services/UserAccountService/UserAccountService.cs1
1 files changed, 0 insertions, 1 deletions
diff --git a/OpenSim/Services/UserAccountService/UserAccountService.cs b/OpenSim/Services/UserAccountService/UserAccountService.cs
index 7120aeb..f6b003a 100644
--- a/OpenSim/Services/UserAccountService/UserAccountService.cs
+++ b/OpenSim/Services/UserAccountService/UserAccountService.cs
@@ -947,7 +947,6 @@ namespace OpenSim.Services.UserAccountService
947 if (item.InvType == (int)InventoryType.Object) 947 if (item.InvType == (int)InventoryType.Object)
948 { 948 {
949 uint perms = item.CurrentPermissions; 949 uint perms = item.CurrentPermissions;
950 PermissionsUtil.ApplyFoldedPermissions(item.CurrentPermissions, ref perms);
951 item.CurrentPermissions = perms; 950 item.CurrentPermissions = perms;
952 } 951 }
953 952