diff options
author | Melanie | 2010-12-09 02:01:41 +0100 |
---|---|---|
committer | Melanie | 2010-12-09 02:01:41 +0100 |
commit | f28dc77ab4f0abeac942b25d3547f43184d5cf2e (patch) | |
tree | 4820d18755c55fa6da7dde2ec4626cb4fc9ce870 /OpenSim/Region/Framework/Scenes/Scene.cs | |
parent | Prevent sending of attachment data to any client if the attachment (diff) | |
download | opensim-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 '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 11 |
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 | } |