From 77dd997ef1489320c5872fd6c1d592390cbeb5f0 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Tue, 4 Dec 2007 23:58:44 +0000 Subject: *disabled some confusing code regarding permissions --- OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 12d5bdb..c117d4d 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs @@ -1285,7 +1285,8 @@ namespace OpenSim.Region.Environment.Scenes } else { - clientFlags = ObjectFlags; + //clientFlags = ObjectFlags; + clientFlags = EveryoneMask; if (!ParentGroup.m_scene.PermissionsMngr.AnyoneCanCopyPermission(remoteClient.AgentId, this.ParentGroup.UUID)) { clientFlags = (clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectCopy); @@ -1295,7 +1296,7 @@ namespace OpenSim.Region.Environment.Scenes { clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectMove; } - clientFlags = EveryoneMask; + clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectModify; clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.AllowInventoryDrop; clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectTransfer; -- cgit v1.1