diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 6 |
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) |