aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs
diff options
context:
space:
mode:
authorUbitUmarov2016-12-18 03:20:41 +0000
committerUbitUmarov2016-12-18 03:20:41 +0000
commitdf7435a7030bc88987f2a60a2fe118f13342a31c (patch)
tree4d91611d169e96addb1e2ddd2e90084fa8c6160b /OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs
parentallow a creator that is also onwer to change export flag. Add missing setting... (diff)
downloadopensim-SC-df7435a7030bc88987f2a60a2fe118f13342a31c.zip
opensim-SC-df7435a7030bc88987f2a60a2fe118f13342a31c.tar.gz
opensim-SC-df7435a7030bc88987f2a60a2fe118f13342a31c.tar.bz2
opensim-SC-df7435a7030bc88987f2a60a2fe118f13342a31c.tar.xz
just give up on Export flag, seems just broken no matter water with current FS and singu 1.8.7
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs
index 98617d1..68d80f0 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.Inventory.cs
@@ -258,7 +258,8 @@ namespace OpenSim.Region.Framework.Scenes
258 uint perms=(uint)(PermissionMask.Modify | 258 uint perms=(uint)(PermissionMask.Modify |
259 PermissionMask.Copy | 259 PermissionMask.Copy |
260 PermissionMask.Move | 260 PermissionMask.Move |
261 PermissionMask.Transfer) | 7; 261 PermissionMask.Transfer |
262 PermissionMask.Export ) | 7;
262 263
263 uint ownerMask = 0x7fffffff; 264 uint ownerMask = 0x7fffffff;
264 265
@@ -281,6 +282,8 @@ namespace OpenSim.Region.Framework.Scenes
281 perms &= ~(uint)PermissionMask.Copy; 282 perms &= ~(uint)PermissionMask.Copy;
282 if ((ownerMask & (uint)PermissionMask.Transfer) == 0) 283 if ((ownerMask & (uint)PermissionMask.Transfer) == 0)
283 perms &= ~(uint)PermissionMask.Transfer; 284 perms &= ~(uint)PermissionMask.Transfer;
285 if ((ownerMask & (uint)PermissionMask.Export) == 0)
286 perms &= ~(uint)PermissionMask.Export;
284 287
285 // If root prim permissions are applied here, this would screw 288 // If root prim permissions are applied here, this would screw
286 // with in-inventory manipulation of the next owner perms 289 // with in-inventory manipulation of the next owner perms