From e78043cb705520d1754a1a9450a4f82ff3deba53 Mon Sep 17 00:00:00 2001 From: Melanie Date: Mon, 14 May 2012 01:32:22 +0200 Subject: Check parcel entry permissions when moving objects --- OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/Framework/Scenes') 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 } if ((change & ObjectChangeType.Position) != 0) { - UpdateGroupPosition(data.position); + if (m_scene.Permissions.CanObjectEntry(group.UUID, false, data.position)) + UpdateGroupPosition(data.position); updateType = updatetype.groupterse; } else -- cgit v1.1