aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorMelanie2012-07-16 22:22:42 +0100
committerMelanie2012-07-16 22:22:42 +0100
commitc256447f46db1738131763960c9394f03b072c46 (patch)
tree277255a693b3ce62366816338482a602d7d979bf /OpenSim/Region/Framework/Scenes/Scene.cs
parentMerge branch 'master' into careminster (diff)
parentAllow setting linked avatar positions from within a prim not the one sat on (diff)
downloadopensim-SC-c256447f46db1738131763960c9394f03b072c46.zip
opensim-SC-c256447f46db1738131763960c9394f03b072c46.tar.gz
opensim-SC-c256447f46db1738131763960c9394f03b072c46.tar.bz2
opensim-SC-c256447f46db1738131763960c9394f03b072c46.tar.xz
Merge branch 'avination' into careminster
Conflicts: OpenSim/Framework/Servers/HttpServer/BaseHttpServer.cs OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs OpenSim/Region/Framework/Scenes/Scene.cs
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 19f319c..f437bc8 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -879,6 +879,8 @@ namespace OpenSim.Region.Framework.Scenes
879 StatsReporter = new SimStatsReporter(this); 879 StatsReporter = new SimStatsReporter(this);
880 StatsReporter.OnSendStatsResult += SendSimStatsPackets; 880 StatsReporter.OnSendStatsResult += SendSimStatsPackets;
881 StatsReporter.OnStatsIncorrect += m_sceneGraph.RecalculateStats; 881 StatsReporter.OnStatsIncorrect += m_sceneGraph.RecalculateStats;
882
883 MainConsole.Instance.Commands.AddCommand("scene", false, "gc collect", "gc collect", "gc collect", "Cause the garbage collector to make a single pass", HandleGcCollect);
882 } 884 }
883 885
884 public Scene(RegionInfo regInfo) : base(regInfo) 886 public Scene(RegionInfo regInfo) : base(regInfo)
@@ -5773,5 +5775,10 @@ Environment.Exit(1);
5773 m_SpawnPoint = 1; 5775 m_SpawnPoint = 1;
5774 return m_SpawnPoint - 1; 5776 return m_SpawnPoint - 1;
5775 } 5777 }
5778
5779 private void HandleGcCollect(string module, string[] args)
5780 {
5781 GC.Collect();
5782 }
5776 } 5783 }
5777} 5784}