diff options
author | Diva Canto | 2013-05-20 09:26:15 -0700 |
---|---|---|
committer | Diva Canto | 2013-05-20 09:26:15 -0700 |
commit | 10e4fb2ce26c428fb1fe309093e3962bae01bc74 (patch) | |
tree | ba1fc4db5c342d57461edd9917d42fdb584b8202 /OpenSim/Region/Framework/Scenes/SimStatsReporter.cs | |
parent | Add comment (diff) | |
parent | fix error in hull point indexing (diff) | |
download | opensim-SC-10e4fb2ce26c428fb1fe309093e3962bae01bc74.zip opensim-SC-10e4fb2ce26c428fb1fe309093e3962bae01bc74.tar.gz opensim-SC-10e4fb2ce26c428fb1fe309093e3962bae01bc74.tar.bz2 opensim-SC-10e4fb2ce26c428fb1fe309093e3962bae01bc74.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SimStatsReporter.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SimStatsReporter.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs b/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs index b9d615e..95f9caf 100644 --- a/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs +++ b/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs | |||
@@ -289,6 +289,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
289 | 289 | ||
290 | private void statsHeartBeat(object sender, EventArgs e) | 290 | private void statsHeartBeat(object sender, EventArgs e) |
291 | { | 291 | { |
292 | if (!m_scene.Active) | ||
293 | return; | ||
294 | |||
292 | SimStatsPacket.StatBlock[] sb = new SimStatsPacket.StatBlock[22]; | 295 | SimStatsPacket.StatBlock[] sb = new SimStatsPacket.StatBlock[22]; |
293 | SimStatsPacket.RegionBlock rb = new SimStatsPacket.RegionBlock(); | 296 | SimStatsPacket.RegionBlock rb = new SimStatsPacket.RegionBlock(); |
294 | 297 | ||