aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-10-10 21:54:08 +0100
committerJustin Clark-Casey (justincc)2011-10-10 21:54:08 +0100
commit2b290793ab7153c956db5637dd27dfbbd0a1cf98 (patch)
treefb92997c17552fa1f78c83c6d7f133c2b852085f /OpenSim/Region/Framework
parentremove unused LastAssetID from DynamicTextureUpdaer (diff)
downloadopensim-SC_OLD-2b290793ab7153c956db5637dd27dfbbd0a1cf98.zip
opensim-SC_OLD-2b290793ab7153c956db5637dd27dfbbd0a1cf98.tar.gz
opensim-SC_OLD-2b290793ab7153c956db5637dd27dfbbd0a1cf98.tar.bz2
opensim-SC_OLD-2b290793ab7153c956db5637dd27dfbbd0a1cf98.tar.xz
refactor: have lsl and ossl interrogate scene.StatsReporter directly rather than going through scene
I know this goes against the law of demeter but I don't think it's that useful here and I'd rather get rid of nasty little wrapper methods
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs13
1 files changed, 0 insertions, 13 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index bcf668f..5652231 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -513,19 +513,6 @@ namespace OpenSim.Region.Framework.Scenes
513 get { return m_sceneGraph.m_syncRoot; } 513 get { return m_sceneGraph.m_syncRoot; }
514 } 514 }
515 515
516 /// <summary>
517 /// This is for llGetRegionFPS
518 /// </summary>
519 public float SimulatorFPS
520 {
521 get { return StatsReporter.getLastReportedSimFPS(); }
522 }
523
524 public float[] SimulatorStats
525 {
526 get { return StatsReporter.getLastReportedSimStats(); }
527 }
528
529 public string DefaultScriptEngine 516 public string DefaultScriptEngine
530 { 517 {
531 get { return m_defaultScriptEngine; } 518 get { return m_defaultScriptEngine; }