diff options
author | Teravus Ovares | 2007-12-14 00:49:40 +0000 |
---|---|---|
committer | Teravus Ovares | 2007-12-14 00:49:40 +0000 |
commit | 7fdfeb58304d614970aa7c0010951ba5a8184e4b (patch) | |
tree | 9f59c6d23e15a100f87142e50bd5c1e834babf4e /OpenSim/Region/Environment/Scenes/Scene.cs | |
parent | From Michael Osias (IBM) (diff) | |
download | opensim-SC-7fdfeb58304d614970aa7c0010951ba5a8184e4b.zip opensim-SC-7fdfeb58304d614970aa7c0010951ba5a8184e4b.tar.gz opensim-SC-7fdfeb58304d614970aa7c0010951ba5a8184e4b.tar.bz2 opensim-SC-7fdfeb58304d614970aa7c0010951ba5a8184e4b.tar.xz |
* Added Active(physical) object count to the SimStatsReporter
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index ea67ba3..59548a2 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -582,6 +582,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
582 | m_statsReporter.SetRootAgents(m_innerScene.GetRootAgentCount()); | 582 | m_statsReporter.SetRootAgents(m_innerScene.GetRootAgentCount()); |
583 | m_statsReporter.SetChildAgents(m_innerScene.GetChildAgentCount()); | 583 | m_statsReporter.SetChildAgents(m_innerScene.GetChildAgentCount()); |
584 | m_statsReporter.SetObjects(m_innerScene.GetTotalObjects()); | 584 | m_statsReporter.SetObjects(m_innerScene.GetTotalObjects()); |
585 | m_statsReporter.SetActiveObjects(m_innerScene.GetActiveObjects()); | ||
585 | 586 | ||
586 | } | 587 | } |
587 | catch (NotImplementedException) | 588 | catch (NotImplementedException) |
@@ -1918,6 +1919,17 @@ namespace OpenSim.Region.Environment.Scenes | |||
1918 | { | 1919 | { |
1919 | m_innerScene.SwapRootChildAgent(rootChildChildRootTF); | 1920 | m_innerScene.SwapRootChildAgent(rootChildChildRootTF); |
1920 | } | 1921 | } |
1922 | |||
1923 | public void AddPhysicalPrim(int num) | ||
1924 | { | ||
1925 | m_innerScene.AddPhysicalPrim(num); | ||
1926 | } | ||
1927 | |||
1928 | public void RemovePhysicalPrim(int num) | ||
1929 | { | ||
1930 | m_innerScene.RemovePhysicalPrim(num); | ||
1931 | } | ||
1932 | |||
1921 | /// <summary> | 1933 | /// <summary> |
1922 | /// | 1934 | /// |
1923 | /// </summary> | 1935 | /// </summary> |