diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneGraph.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index b61aed5..1163ebf 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -826,6 +826,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
826 | return m_scenePresenceArray; | 826 | return m_scenePresenceArray; |
827 | } | 827 | } |
828 | 828 | ||
829 | public int GetNumberOfScenePresences() | ||
830 | { | ||
831 | return m_scenePresenceArray.Count; | ||
832 | } | ||
833 | |||
829 | /// <summary> | 834 | /// <summary> |
830 | /// Request a scene presence by UUID. Fast, indexed lookup. | 835 | /// Request a scene presence by UUID. Fast, indexed lookup. |
831 | /// </summary> | 836 | /// </summary> |