diff options
author | Melanie Thielker | 2008-10-06 07:21:13 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-10-06 07:21:13 +0000 |
commit | c65b10caa2a877096d52d29e7b89026e9f54d622 (patch) | |
tree | 15172f710b1fbd4236ba31946d69f3574d8186b5 /OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |
parent | Cause inventory items to also be sold when a prim is sold (diff) | |
download | opensim-SC-c65b10caa2a877096d52d29e7b89026e9f54d622.zip opensim-SC-c65b10caa2a877096d52d29e7b89026e9f54d622.tar.gz opensim-SC-c65b10caa2a877096d52d29e7b89026e9f54d622.tar.bz2 opensim-SC-c65b10caa2a877096d52d29e7b89026e9f54d622.tar.xz |
Implement ForceOwnerPermissive and God TakeCopy
Diffstat (limited to '')
-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; |