Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim

xassetservice
Melanie 2012-02-23 01:42:08 +00:00
commit 9ed4245d9e
1 changed files with 2 additions and 8 deletions

View File

@ -4259,24 +4259,18 @@ namespace OpenSim.Region.Framework.Scenes
/// </summary> /// </summary>
/// <param name="action"></param> /// <param name="action"></param>
public void ForEachRootScenePresence(Action<ScenePresence> action) public void ForEachRootScenePresence(Action<ScenePresence> action)
{
if (m_sceneGraph != null)
{ {
m_sceneGraph.ForEachAvatar(action); m_sceneGraph.ForEachAvatar(action);
} }
}
/// <summary> /// <summary>
/// Performs action on all scene presences (root and child) /// Performs action on all scene presences (root and child)
/// </summary> /// </summary>
/// <param name="action"></param> /// <param name="action"></param>
public void ForEachScenePresence(Action<ScenePresence> action) public void ForEachScenePresence(Action<ScenePresence> action)
{
if (m_sceneGraph != null)
{ {
m_sceneGraph.ForEachScenePresence(action); m_sceneGraph.ForEachScenePresence(action);
} }
}
/// <summary> /// <summary>
/// Get a group via its UUID /// Get a group via its UUID