diff options
author | Melanie | 2012-05-14 01:32:22 +0200 |
---|---|---|
committer | Melanie | 2012-05-14 01:32:22 +0200 |
commit | e78043cb705520d1754a1a9450a4f82ff3deba53 (patch) | |
tree | ea10cb35c1817ec012a1d09d31e0a836afa0d5be /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |
parent | Allow non-gods to deed no-mod objects (diff) | |
download | opensim-SC_OLD-e78043cb705520d1754a1a9450a4f82ff3deba53.zip opensim-SC_OLD-e78043cb705520d1754a1a9450a4f82ff3deba53.tar.gz opensim-SC_OLD-e78043cb705520d1754a1a9450a4f82ff3deba53.tar.bz2 opensim-SC_OLD-e78043cb705520d1754a1a9450a4f82ff3deba53.tar.xz |
Check parcel entry permissions when moving objects
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index f9c2193..fd25194 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -3752,7 +3752,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
3752 | } | 3752 | } |
3753 | if ((change & ObjectChangeType.Position) != 0) | 3753 | if ((change & ObjectChangeType.Position) != 0) |
3754 | { | 3754 | { |
3755 | UpdateGroupPosition(data.position); | 3755 | if (m_scene.Permissions.CanObjectEntry(group.UUID, false, data.position)) |
3756 | UpdateGroupPosition(data.position); | ||
3756 | updateType = updatetype.groupterse; | 3757 | updateType = updatetype.groupterse; |
3757 | } | 3758 | } |
3758 | else | 3759 | else |