One should not commit even the smallest fox without compile. Fix build break
parent
c4ab9482b5
commit
fd96bb6f43
|
@ -255,18 +255,18 @@ namespace OpenSim.Region.Environment.Scenes
|
||||||
perms &= part.MaskEffectivePermissions();
|
perms &= part.MaskEffectivePermissions();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ownerMask & (uint)PermissionMask.Modify) == 0)
|
if ((ownerMask & (uint)PermissionMask.Modify) == 0)
|
||||||
perms &= ~(uint)PermissionMask.Modify;
|
perms &= ~(uint)PermissionMask.Modify;
|
||||||
if (ownerMask & (uint)PermissionMask.Copy) == 0)
|
if ((ownerMask & (uint)PermissionMask.Copy) == 0)
|
||||||
perms &= ~(uint)PermissionMask.Copy;
|
perms &= ~(uint)PermissionMask.Copy;
|
||||||
if (ownerMask & (uint)PermissionMask.Transfer) == 0)
|
if ((ownerMask & (uint)PermissionMask.Transfer) == 0)
|
||||||
perms &= ~(uint)PermissionMask.Transfer;
|
perms &= ~(uint)PermissionMask.Transfer;
|
||||||
|
|
||||||
if (ownerMask & RootPart.NextOwnerMask & (uint)PermissionMask.Modify) == 0)
|
if ((ownerMask & RootPart.NextOwnerMask & (uint)PermissionMask.Modify) == 0)
|
||||||
perms &= ~((uint)PermissionMask.Modify >> 13);
|
perms &= ~((uint)PermissionMask.Modify >> 13);
|
||||||
if (ownerMask & RootPart.NextOwnerMask & (uint)PermissionMask.Copy) == 0)
|
if ((ownerMask & RootPart.NextOwnerMask & (uint)PermissionMask.Copy) == 0)
|
||||||
perms &= ~((uint)PermissionMask.Copy >> 13);
|
perms &= ~((uint)PermissionMask.Copy >> 13);
|
||||||
if (ownerMask & RootPart.NextOwnerMask & (uint)PermissionMask.Transfer) == 0)
|
if ((ownerMask & RootPart.NextOwnerMask & (uint)PermissionMask.Transfer) == 0)
|
||||||
perms &= ~((uint)PermissionMask.Transfer >> 13);
|
perms &= ~((uint)PermissionMask.Transfer >> 13);
|
||||||
|
|
||||||
return perms;
|
return perms;
|
||||||
|
|
Loading…
Reference in New Issue