diff options
author | Melanie | 2011-04-21 23:03:38 +0100 |
---|---|---|
committer | Melanie | 2011-04-21 23:03:38 +0100 |
commit | 13d6e05d5a346dcb9dbaec29af37ee63be790acb (patch) | |
tree | cebe880029e01b8bbb57ddc9422a7af0a2a6d8be /OpenSim/Region/Framework/Scenes/SceneGraph.cs | |
parent | fix meshing failure on sculpt maps smaller than 64x64 (diff) | |
download | opensim-SC_OLD-13d6e05d5a346dcb9dbaec29af37ee63be790acb.zip opensim-SC_OLD-13d6e05d5a346dcb9dbaec29af37ee63be790acb.tar.gz opensim-SC_OLD-13d6e05d5a346dcb9dbaec29af37ee63be790acb.tar.bz2 opensim-SC_OLD-13d6e05d5a346dcb9dbaec29af37ee63be790acb.tar.xz |
Implement agent limits
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 72f0402..fc31b65 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -800,6 +800,11 @@ namespace OpenSim.Region.Framework.Scenes | |||
800 | return m_scenePresenceArray; | 800 | return m_scenePresenceArray; |
801 | } | 801 | } |
802 | 802 | ||
803 | public int GetNumberOfScenePresences() | ||
804 | { | ||
805 | return m_scenePresenceArray.Count; | ||
806 | } | ||
807 | |||
803 | /// <summary> | 808 | /// <summary> |
804 | /// Request a scene presence by UUID. Fast, indexed lookup. | 809 | /// Request a scene presence by UUID. Fast, indexed lookup. |
805 | /// </summary> | 810 | /// </summary> |