From 2b290793ab7153c956db5637dd27dfbbd0a1cf98 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Mon, 10 Oct 2011 21:54:08 +0100 Subject: 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 --- OpenSim/Region/Framework/Scenes/Scene.cs | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'OpenSim/Region/Framework/Scenes') 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 get { return m_sceneGraph.m_syncRoot; } } - /// - /// This is for llGetRegionFPS - /// - public float SimulatorFPS - { - get { return StatsReporter.getLastReportedSimFPS(); } - } - - public float[] SimulatorStats - { - get { return StatsReporter.getLastReportedSimStats(); } - } - public string DefaultScriptEngine { get { return m_defaultScriptEngine; } -- cgit v1.1