diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 91249f9..f4ada1a 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -3037,6 +3037,14 @@ namespace OpenSim.Region.Environment.Scenes | |||
3037 | { | 3037 | { |
3038 | switch (field) | 3038 | switch (field) |
3039 | { | 3039 | { |
3040 | case 1: | ||
3041 | if (god) | ||
3042 | { | ||
3043 | _baseMask = ApplyMask(_baseMask, set, mask); | ||
3044 | ApplyGodPermissions(_baseMask); | ||
3045 | } | ||
3046 | |||
3047 | break; | ||
3040 | case 2: | 3048 | case 2: |
3041 | _ownerMask = ApplyMask(_ownerMask, set, mask) & | 3049 | _ownerMask = ApplyMask(_ownerMask, set, mask) & |
3042 | baseMask; | 3050 | baseMask; |