mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 02:36:00 +08:00
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
This commit is contained in:
@@ -513,19 +513,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
get { return m_sceneGraph.m_syncRoot; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// This is for llGetRegionFPS
|
||||
/// </summary>
|
||||
public float SimulatorFPS
|
||||
{
|
||||
get { return StatsReporter.getLastReportedSimFPS(); }
|
||||
}
|
||||
|
||||
public float[] SimulatorStats
|
||||
{
|
||||
get { return StatsReporter.getLastReportedSimStats(); }
|
||||
}
|
||||
|
||||
public string DefaultScriptEngine
|
||||
{
|
||||
get { return m_defaultScriptEngine; }
|
||||
|
||||
Reference in New Issue
Block a user