aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs10
1 files changed, 2 insertions, 8 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 7b79732..6187803 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -4260,10 +4260,7 @@ namespace OpenSim.Region.Framework.Scenes
4260 /// <param name="action"></param> 4260 /// <param name="action"></param>
4261 public void ForEachRootScenePresence(Action<ScenePresence> action) 4261 public void ForEachRootScenePresence(Action<ScenePresence> action)
4262 { 4262 {
4263 if (m_sceneGraph != null) 4263 m_sceneGraph.ForEachAvatar(action);
4264 {
4265 m_sceneGraph.ForEachAvatar(action);
4266 }
4267 } 4264 }
4268 4265
4269 /// <summary> 4266 /// <summary>
@@ -4272,10 +4269,7 @@ namespace OpenSim.Region.Framework.Scenes
4272 /// <param name="action"></param> 4269 /// <param name="action"></param>
4273 public void ForEachScenePresence(Action<ScenePresence> action) 4270 public void ForEachScenePresence(Action<ScenePresence> action)
4274 { 4271 {
4275 if (m_sceneGraph != null) 4272 m_sceneGraph.ForEachScenePresence(action);
4276 {
4277 m_sceneGraph.ForEachScenePresence(action);
4278 }
4279 } 4273 }
4280 4274
4281 /// <summary> 4275 /// <summary>