aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rwxr-xr-xOpenSim/Region/Framework/Scenes/Scene.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index dce2247..cca8963 100755
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -381,6 +381,10 @@ namespace OpenSim.Region.Framework.Scenes
381 } 381 }
382 private int m_minFrameTicks; 382 private int m_minFrameTicks;
383 383
384 // Normalize the frame related stats to nominal 55fps for viewer and scripts option
385 // see SimStatsReporter.cs
386 public bool Normalized55FPS { get; private set; }
387
384 /// <summary> 388 /// <summary>
385 /// The minimum length of time in seconds that will be taken for a scene frame. 389 /// The minimum length of time in seconds that will be taken for a scene frame.
386 /// </summary> 390 /// </summary>
@@ -856,6 +860,7 @@ namespace OpenSim.Region.Framework.Scenes
856 { 860 {
857 m_config = config; 861 m_config = config;
858 MinFrameTicks = 89; 862 MinFrameTicks = 89;
863 Normalized55FPS = true;
859 MinMaintenanceTicks = 1000; 864 MinMaintenanceTicks = 1000;
860 SeeIntoRegion = true; 865 SeeIntoRegion = true;
861 866
@@ -1083,6 +1088,7 @@ namespace OpenSim.Region.Framework.Scenes
1083 1088
1084 if (startupConfig.Contains("MinFrameTime")) 1089 if (startupConfig.Contains("MinFrameTime"))
1085 MinFrameTicks = (int)(startupConfig.GetFloat("MinFrameTime") * 1000); 1090 MinFrameTicks = (int)(startupConfig.GetFloat("MinFrameTime") * 1000);
1091 Normalized55FPS = startupConfig.GetBoolean( "Normalized55FPS", Normalized55FPS);
1086 1092
1087 m_update_backup = startupConfig.GetInt("UpdateStorageEveryNFrames", m_update_backup); 1093 m_update_backup = startupConfig.GetInt("UpdateStorageEveryNFrames", m_update_backup);
1088 m_update_coarse_locations = startupConfig.GetInt("UpdateCoarseLocationsEveryNFrames", m_update_coarse_locations); 1094 m_update_coarse_locations = startupConfig.GetInt("UpdateCoarseLocationsEveryNFrames", m_update_coarse_locations);