diff options
author | Teravus Ovares | 2008-02-10 21:27:32 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-02-10 21:27:32 +0000 |
commit | 38f0615ffef1b60d98029ca433d158d97c0d0183 (patch) | |
tree | 56b476fcb1696dcb8de3e310e8e93b79f36a125a /OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |
parent | Removed some ScriptEngine config debugging. (diff) | |
download | opensim-SC-38f0615ffef1b60d98029ca433d158d97c0d0183.zip opensim-SC-38f0615ffef1b60d98029ca433d158d97c0d0183.tar.gz opensim-SC-38f0615ffef1b60d98029ca433d158d97c0d0183.tar.bz2 opensim-SC-38f0615ffef1b60d98029ca433d158d97c0d0183.tar.xz |
* This updates adds locking capability. Thanks, lbsa71 for pointing out my bitmasking error of the objectflags! It's still a little bit wonky when you check the checkbox, however it 'takes' and doesn't break anything.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 8c25dfa..06c0472 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -1620,13 +1620,14 @@ namespace OpenSim.Region.Environment.Scenes | |||
1620 | { | 1620 | { |
1621 | if (addRemTF == (byte)0) | 1621 | if (addRemTF == (byte)0) |
1622 | { | 1622 | { |
1623 | m_parentGroup.SetLocked(true); | 1623 | //m_parentGroup.SetLocked(true); |
1624 | //OwnerMask &= ~mask; | 1624 | //PermissionMask. |
1625 | OwnerMask &= ~mask; | ||
1625 | } | 1626 | } |
1626 | else | 1627 | else |
1627 | { | 1628 | { |
1628 | m_parentGroup.SetLocked(false); | 1629 | //m_parentGroup.SetLocked(false); |
1629 | //OwnerMask |= mask; | 1630 | OwnerMask |= mask; |
1630 | } | 1631 | } |
1631 | SendFullUpdateToAllClients(); | 1632 | SendFullUpdateToAllClients(); |
1632 | 1633 | ||