diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 19bf53f..f948336 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -2579,6 +2579,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
2579 | AggregatedInnerOwnerPerms = owner & mask; | 2579 | AggregatedInnerOwnerPerms = owner & mask; |
2580 | AggregatedInnerGroupPerms = group & mask; | 2580 | AggregatedInnerGroupPerms = group & mask; |
2581 | AggregatedInnerEveryonePerms = everyone & mask; | 2581 | AggregatedInnerEveryonePerms = everyone & mask; |
2582 | if(ParentGroup != null) | ||
2583 | ParentGroup.InvalidateEffectivePerms(); | ||
2582 | } | 2584 | } |
2583 | } | 2585 | } |
2584 | 2586 | ||
@@ -5286,9 +5288,9 @@ SendFullUpdateToClient(remoteClient, Position) ignores position parameter | |||
5286 | // Export needs to be preserved in the base and everyone | 5288 | // Export needs to be preserved in the base and everyone |
5287 | // mask, but removed in the owner mask as a next owner | 5289 | // mask, but removed in the owner mask as a next owner |
5288 | // can never change the export status | 5290 | // can never change the export status |
5289 | BaseMask &= NextOwnerMask | (uint)PermissionMask.Export; | 5291 | BaseMask &= (NextOwnerMask | (uint)PermissionMask.Export); |
5290 | OwnerMask &= NextOwnerMask; | 5292 | OwnerMask &= NextOwnerMask; |
5291 | EveryoneMask &= NextOwnerMask | (uint)PermissionMask.Export; | 5293 | EveryoneMask &= (NextOwnerMask | (uint)PermissionMask.Export); |
5292 | GroupMask = 0; // Giving an object zaps group permissions | 5294 | GroupMask = 0; // Giving an object zaps group permissions |
5293 | 5295 | ||
5294 | Inventory.ApplyNextOwnerPermissions(); | 5296 | Inventory.ApplyNextOwnerPermissions(); |