aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-12-07 17:31:57 +0000
committerJustin Clark-Casey (justincc)2011-12-07 17:31:57 +0000
commit415b7b7ec4be9f87e7d5b65000e092d3372a4391 (patch)
tree315ba0fc1f42a542a274b997b0d62a490ef78e73 /OpenSim/Region/Framework/Scenes/Scene.cs
parentproperly lock CapsHandlers.m_capsHandlers (diff)
downloadopensim-SC_OLD-415b7b7ec4be9f87e7d5b65000e092d3372a4391.zip
opensim-SC_OLD-415b7b7ec4be9f87e7d5b65000e092d3372a4391.tar.gz
opensim-SC_OLD-415b7b7ec4be9f87e7d5b65000e092d3372a4391.tar.bz2
opensim-SC_OLD-415b7b7ec4be9f87e7d5b65000e092d3372a4391.tar.xz
Implement XMLRPCAdmin command admin_teleport_agent.
This allows someone with access to this command on the XMLRPCAdmin interface to teleport an avatar to an arbitrary region and/or position.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 3ac6327..604f035 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -4206,7 +4206,7 @@ namespace OpenSim.Region.Framework.Scenes
4206 /// <param name="action"></param> 4206 /// <param name="action"></param>
4207 public void ForEachRootScenePresence(Action<ScenePresence> action) 4207 public void ForEachRootScenePresence(Action<ScenePresence> action)
4208 { 4208 {
4209 if(m_sceneGraph != null) 4209 if (m_sceneGraph != null)
4210 { 4210 {
4211 m_sceneGraph.ForEachAvatar(action); 4211 m_sceneGraph.ForEachAvatar(action);
4212 } 4212 }
@@ -4286,9 +4286,9 @@ namespace OpenSim.Region.Framework.Scenes
4286 return m_sceneGraph.GetGroupByPrim(localID); 4286 return m_sceneGraph.GetGroupByPrim(localID);
4287 } 4287 }
4288 4288
4289 public override bool TryGetScenePresence(UUID avatarId, out ScenePresence avatar) 4289 public override bool TryGetScenePresence(UUID agentID, out ScenePresence sp)
4290 { 4290 {
4291 return m_sceneGraph.TryGetScenePresence(avatarId, out avatar); 4291 return m_sceneGraph.TryGetScenePresence(agentID, out sp);
4292 } 4292 }
4293 4293
4294 public bool TryGetAvatarByName(string avatarName, out ScenePresence avatar) 4294 public bool TryGetAvatarByName(string avatarName, out ScenePresence avatar)