Fix prim locking to behave like SL
parent
694c4bcbb6
commit
4bf1afe300
|
@ -2699,8 +2699,8 @@ namespace OpenSim.Region.Framework.Scenes
|
|||
part.ClonePermissions(RootPart);
|
||||
});
|
||||
|
||||
uint lockMask = ~(uint)PermissionMask.Move;
|
||||
uint lockBit = RootPart.OwnerMask & (uint)PermissionMask.Move;
|
||||
uint lockMask = ~(uint)(PermissionMask.Move | PermissionMask.Modify);
|
||||
uint lockBit = RootPart.OwnerMask & (uint)(PermissionMask.Move | PermissionMask.Modify);
|
||||
RootPart.OwnerMask = (RootPart.OwnerMask & lockBit) | ((newOwnerMask | foldedPerms) & lockMask);
|
||||
RootPart.ScheduleFullUpdate();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue