aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index a99261f..f306651 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -3488,8 +3488,8 @@ namespace OpenSim.Region.Framework.Scenes
3488 part.ClonePermissions(RootPart); 3488 part.ClonePermissions(RootPart);
3489 }); 3489 });
3490 3490
3491 uint lockMask = ~(uint)PermissionMask.Move; 3491 uint lockMask = ~(uint)(PermissionMask.Move | PermissionMask.Modify);
3492 uint lockBit = RootPart.OwnerMask & (uint)PermissionMask.Move; 3492 uint lockBit = RootPart.OwnerMask & (uint)(PermissionMask.Move | PermissionMask.Modify);
3493 RootPart.OwnerMask = (RootPart.OwnerMask & lockBit) | ((newOwnerMask | foldedPerms) & lockMask); 3493 RootPart.OwnerMask = (RootPart.OwnerMask & lockBit) | ((newOwnerMask | foldedPerms) & lockMask);
3494 RootPart.ScheduleFullUpdate(); 3494 RootPart.ScheduleFullUpdate();
3495 } 3495 }