Fix locking for good

avinationmerge
Melanie 2012-12-18 09:32:05 +01:00
parent 51354bad48
commit 861477d85e
1 changed files with 3 additions and 3 deletions

View File

@ -3439,12 +3439,12 @@ namespace OpenSim.Region.Framework.Scenes
public void AdjustChildPrimPermissions()
{
//uint newOwnerMask = (uint)PermissionMask.All & 0xfffffff8; // Mask folded bits
//uint foldedPerms = RootPart.OwnerMask & 3;
uint newOwnerMask = (uint)PermissionMask.All & 0xfffffff8; // Mask folded bits
uint foldedPerms = RootPart.OwnerMask & 3;
ForEachPart(part =>
{
//newOwnerMask &= part.BaseMask;
newOwnerMask &= part.BaseMask;
if (part != RootPart)
part.ClonePermissions(RootPart);
});