aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorMelanie2010-12-09 02:01:41 +0100
committerMelanie2010-12-09 02:01:41 +0100
commitf28dc77ab4f0abeac942b25d3547f43184d5cf2e (patch)
tree4820d18755c55fa6da7dde2ec4626cb4fc9ce870 /OpenSim/Region/Framework/Scenes
parentPrevent sending of attachment data to any client if the attachment (diff)
downloadopensim-SC-f28dc77ab4f0abeac942b25d3547f43184d5cf2e.zip
opensim-SC-f28dc77ab4f0abeac942b25d3547f43184d5cf2e.tar.gz
opensim-SC-f28dc77ab4f0abeac942b25d3547f43184d5cf2e.tar.bz2
opensim-SC-f28dc77ab4f0abeac942b25d3547f43184d5cf2e.tar.xz
Plumb a code path for the entity transfer module to ask a destination scene
whether or not an agent is allowed there as a root agent.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index e48b92b..383d95f 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -5160,5 +5160,16 @@ namespace OpenSim.Region.Framework.Scenes
5160 break; 5160 break;
5161 } 5161 }
5162 } 5162 }
5163
5164 // This method is called across the simulation connector to
5165 // determine if a given agent is allowed in this region
5166 // AS A ROOT AGENT. Returning false here will prevent them
5167 // from logging into the region, teleporting into the region
5168 // or corssing the broder walking, but will NOT prevent
5169 // child agent creation, thereby emulating the SL behavior.
5170 public bool QueryAccess(UUID agentID)
5171 {
5172 return true;
5173 }
5163 } 5174 }
5164} 5175}