diff options
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 7b5fdcb..f1036ae 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -2699,8 +2699,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
2699 | part.ClonePermissions(RootPart); | 2699 | part.ClonePermissions(RootPart); |
2700 | }); | 2700 | }); |
2701 | 2701 | ||
2702 | uint lockMask = ~(uint)PermissionMask.Move; | 2702 | uint lockMask = ~(uint)(PermissionMask.Move | PermissionMask.Modify); |
2703 | uint lockBit = RootPart.OwnerMask & (uint)PermissionMask.Move; | 2703 | uint lockBit = RootPart.OwnerMask & (uint)(PermissionMask.Move | PermissionMask.Modify); |
2704 | RootPart.OwnerMask = (RootPart.OwnerMask & lockBit) | ((newOwnerMask | foldedPerms) & lockMask); | 2704 | RootPart.OwnerMask = (RootPart.OwnerMask & lockBit) | ((newOwnerMask | foldedPerms) & lockMask); |
2705 | RootPart.ScheduleFullUpdate(); | 2705 | RootPart.ScheduleFullUpdate(); |
2706 | } | 2706 | } |