aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorMelanie2010-12-09 01:55:32 +0000
committerMelanie2010-12-09 01:55:32 +0000
commit4df1d25d23d76ee3ae8c7da155462b57735f6418 (patch)
tree3d03a3cf9fb54f6992b67a6e2b23d5ea8def084d /OpenSim/Region/Framework/Scenes
parentAdded an exception handler on CreateObject handler, just in case there's an e... (diff)
downloadopensim-SC_OLD-4df1d25d23d76ee3ae8c7da155462b57735f6418.zip
opensim-SC_OLD-4df1d25d23d76ee3ae8c7da155462b57735f6418.tar.gz
opensim-SC_OLD-4df1d25d23d76ee3ae8c7da155462b57735f6418.tar.bz2
opensim-SC_OLD-4df1d25d23d76ee3ae8c7da155462b57735f6418.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 6d72154..de75375 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -4953,5 +4953,16 @@ namespace OpenSim.Region.Framework.Scenes
4953 DeleteSceneObject(grp, true); 4953 DeleteSceneObject(grp, true);
4954 } 4954 }
4955 } 4955 }
4956
4957 // This method is called across the simulation connector to
4958 // determine if a given agent is allowed in this region
4959 // AS A ROOT AGENT. Returning false here will prevent them
4960 // from logging into the region, teleporting into the region
4961 // or corssing the broder walking, but will NOT prevent
4962 // child agent creation, thereby emulating the SL behavior.
4963 public bool QueryAccess(UUID agentID)
4964 {
4965 return true;
4966 }
4956 } 4967 }
4957} 4968}