Export permission, part two. Setting export perms for textures and clothing works. Setting perms for prims also works but they don't propagate correctly yet.

NOT FOR PRODUCTIN USE. Your database will need to be updated before you can use this!
This commit is contained in:
Melanie
2013-03-31 20:25:32 +02:00
parent c341664c1b
commit 4bf9c4bbb8
3 changed files with 66 additions and 11 deletions

View File

@@ -3468,7 +3468,7 @@ namespace OpenSim.Region.Framework.Scenes
public void AdjustChildPrimPermissions()
{
uint newOwnerMask = (uint)PermissionMask.All & 0xfffffff8; // Mask folded bits
uint newOwnerMask = (uint)(PermissionMask.All | PermissionMask.Export) & 0xfffffff8; // Mask folded bits
uint foldedPerms = RootPart.OwnerMask & 3;
ForEachPart(part =>