diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 4798481..9dd6639 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -3422,8 +3422,16 @@ namespace OpenSim.Region.Framework.Scenes | |||
3422 | { | 3422 | { |
3423 | RootPart.UpdatePermissions(AgentID, field, localID, mask, addRemTF); | 3423 | RootPart.UpdatePermissions(AgentID, field, localID, mask, addRemTF); |
3424 | 3424 | ||
3425 | bool god = Scene.Permissions.IsGod(AgentID); | ||
3426 | |||
3425 | AdjustChildPrimPermissions(); | 3427 | AdjustChildPrimPermissions(); |
3426 | 3428 | ||
3429 | if (field == 1 && god) // Base mask was set. Update all child part inventories | ||
3430 | { | ||
3431 | foreach (SceneObjectPart part in Parts) | ||
3432 | part.Inventory.ApplyGodPermissions(RootPart.BaseMask); | ||
3433 | } | ||
3434 | |||
3427 | HasGroupChanged = true; | 3435 | HasGroupChanged = true; |
3428 | 3436 | ||
3429 | // Send the group's properties to all clients once all parts are updated | 3437 | // Send the group's properties to all clients once all parts are updated |