aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorTeravus Ovares2007-12-04 23:58:44 +0000
committerTeravus Ovares2007-12-04 23:58:44 +0000
commit77dd997ef1489320c5872fd6c1d592390cbeb5f0 (patch)
tree35bdf2288710cb5220cfae0ee3e498e5540c3842 /OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
parentkeeping opensim safe for children -- made some namespace references less expl... (diff)
downloadopensim-SC_OLD-77dd997ef1489320c5872fd6c1d592390cbeb5f0.zip
opensim-SC_OLD-77dd997ef1489320c5872fd6c1d592390cbeb5f0.tar.gz
opensim-SC_OLD-77dd997ef1489320c5872fd6c1d592390cbeb5f0.tar.bz2
opensim-SC_OLD-77dd997ef1489320c5872fd6c1d592390cbeb5f0.tar.xz
*disabled some confusing code regarding permissions
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs5
1 files changed, 3 insertions, 2 deletions
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
1285 } 1285 }
1286 else 1286 else
1287 { 1287 {
1288 clientFlags = ObjectFlags; 1288 //clientFlags = ObjectFlags;
1289 clientFlags = EveryoneMask;
1289 if (!ParentGroup.m_scene.PermissionsMngr.AnyoneCanCopyPermission(remoteClient.AgentId, this.ParentGroup.UUID)) 1290 if (!ParentGroup.m_scene.PermissionsMngr.AnyoneCanCopyPermission(remoteClient.AgentId, this.ParentGroup.UUID))
1290 { 1291 {
1291 clientFlags = (clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectCopy); 1292 clientFlags = (clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectCopy);
@@ -1295,7 +1296,7 @@ namespace OpenSim.Region.Environment.Scenes
1295 { 1296 {
1296 clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectMove; 1297 clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectMove;
1297 } 1298 }
1298 clientFlags = EveryoneMask; 1299
1299 clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectModify; 1300 clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectModify;
1300 clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.AllowInventoryDrop; 1301 clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.AllowInventoryDrop;
1301 clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectTransfer; 1302 clientFlags = clientFlags &= ~(uint)LLObject.ObjectFlags.ObjectTransfer;