aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/ScenePresence.cs8
1 files changed, 1 insertions, 7 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
index 4ef0d27..8ac1a77 100644
--- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs
@@ -476,13 +476,7 @@ namespace OpenSim.Region.Environment.Scenes
476 476
477 public uint GenerateClientFlags(LLUUID ObjectID) 477 public uint GenerateClientFlags(LLUUID ObjectID)
478 { 478 {
479 if(m_scene.Permissions == null) 479 return m_scene.ExternalChecks.ExternalChecksGenerateClientFlags(m_uuid, ObjectID);
480 {
481 SceneObjectPart task=m_scene.GetSceneObjectPart(ObjectID);
482
483 return task.GetEffectiveObjectFlags() | (uint)2147483647;
484 }
485 return m_scene.Permissions.GenerateClientFlags(m_uuid, ObjectID);
486 } 480 }
487 481
488 /// <summary> 482 /// <summary>