mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
Mantis#2105. Thank you kindly, HomerHorwitz for a patch that addresses:
Due to the many problems with not cleaned up child-agents, I thought it might make sense to be able to see them on the console. 'show users' on the region-server's console now outputs root- and child-agents (with "root" or "child" column)
This commit is contained in:
@@ -435,6 +435,19 @@ namespace OpenSim.Region.Environment.Scenes
|
||||
return avatars;
|
||||
}
|
||||
|
||||
public List<ScenePresence> GetCurrentScenePresences()
|
||||
{
|
||||
List<ScenePresence> presences = new List<ScenePresence>();
|
||||
|
||||
ForEachCurrentScene(delegate(Scene scene)
|
||||
{
|
||||
List<ScenePresence> scenePresences = scene.GetScenePresences();
|
||||
presences.AddRange(scenePresences);
|
||||
});
|
||||
|
||||
return presences;
|
||||
}
|
||||
|
||||
public RegionInfo GetRegionInfo(ulong regionHandle)
|
||||
{
|
||||
foreach (Scene scene in m_localScenes)
|
||||
|
||||
Reference in New Issue
Block a user