Fix locking for good
parent
51354bad48
commit
861477d85e
|
@ -3439,12 +3439,12 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
|
|
||||||
public void AdjustChildPrimPermissions()
|
public void AdjustChildPrimPermissions()
|
||||||
{
|
{
|
||||||
//uint newOwnerMask = (uint)PermissionMask.All & 0xfffffff8; // Mask folded bits
|
uint newOwnerMask = (uint)PermissionMask.All & 0xfffffff8; // Mask folded bits
|
||||||
//uint foldedPerms = RootPart.OwnerMask & 3;
|
uint foldedPerms = RootPart.OwnerMask & 3;
|
||||||
|
|
||||||
ForEachPart(part =>
|
ForEachPart(part =>
|
||||||
{
|
{
|
||||||
//newOwnerMask &= part.BaseMask;
|
newOwnerMask &= part.BaseMask;
|
||||||
if (part != RootPart)
|
if (part != RootPart)
|
||||||
part.ClonePermissions(RootPart);
|
part.ClonePermissions(RootPart);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue