diff options
author | teravus | 2012-12-15 16:26:03 -0500 |
---|---|---|
committer | teravus | 2012-12-15 16:26:03 -0500 |
commit | d2695cb3f7356a5c4047bbef2ac8f83fc8350976 (patch) | |
tree | 9167adff5ea8e79ecfe4890485c0cdc485d9eafe /OpenSim/Region/Framework | |
parent | Merge branch 'ubitwork' into avination (diff) | |
download | opensim-SC_OLD-d2695cb3f7356a5c4047bbef2ac8f83fc8350976.zip opensim-SC_OLD-d2695cb3f7356a5c4047bbef2ac8f83fc8350976.tar.gz opensim-SC_OLD-d2695cb3f7356a5c4047bbef2ac8f83fc8350976.tar.bz2 opensim-SC_OLD-d2695cb3f7356a5c4047bbef2ac8f83fc8350976.tar.xz |
* Fix for Prim Locking. Prior to the merge, it was just a clone of the root part to each of the child parts.
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index b9f9c86..0b82093 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -3439,17 +3439,17 @@ namespace OpenSim.Region.Framework.Scenes | |||
3439 | 3439 | ||
3440 | public void AdjustChildPrimPermissions() | 3440 | public void AdjustChildPrimPermissions() |
3441 | { | 3441 | { |
3442 | uint newOwnerMask = (uint)PermissionMask.All & 0xfffffff8; // Mask folded bits | 3442 | //uint newOwnerMask = (uint)PermissionMask.All & 0xfffffff8; // Mask folded bits |
3443 | uint foldedPerms = RootPart.OwnerMask & 3; | 3443 | //uint foldedPerms = RootPart.OwnerMask & 3; |
3444 | 3444 | ||
3445 | ForEachPart(part => | 3445 | ForEachPart(part => |
3446 | { | 3446 | { |
3447 | newOwnerMask &= part.BaseMask; | 3447 | //newOwnerMask &= part.BaseMask; |
3448 | if (part != RootPart) | 3448 | if (part != RootPart) |
3449 | part.ClonePermissions(RootPart); | 3449 | part.ClonePermissions(RootPart); |
3450 | }); | 3450 | }); |
3451 | 3451 | ||
3452 | RootPart.OwnerMask = newOwnerMask | foldedPerms; | 3452 | //RootPart.OwnerMask = newOwnerMask | foldedPerms; |
3453 | RootPart.ScheduleFullUpdate(); | 3453 | RootPart.ScheduleFullUpdate(); |
3454 | } | 3454 | } |
3455 | 3455 | ||