diff options
author | Melanie | 2009-11-28 09:26:00 +0000 |
---|---|---|
committer | Melanie | 2009-11-28 09:26:00 +0000 |
commit | d3e7a5293310651ea8adf28327e1cb9840bcf9d7 (patch) | |
tree | 044fde70d244eecd8c1344eb973aa8d6e86e249b /OpenSim/Region/Framework | |
parent | Reset update flag when a SOG is deleted. This fixes llDie(); (diff) | |
parent | Add some conditionals to references to the WorldComm module, so that the (diff) | |
download | opensim-SC_OLD-d3e7a5293310651ea8adf28327e1cb9840bcf9d7.zip opensim-SC_OLD-d3e7a5293310651ea8adf28327e1cb9840bcf9d7.tar.gz opensim-SC_OLD-d3e7a5293310651ea8adf28327e1cb9840bcf9d7.tar.bz2 opensim-SC_OLD-d3e7a5293310651ea8adf28327e1cb9840bcf9d7.tar.xz |
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 10 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SimStatsReporter.cs | 10 |
2 files changed, 5 insertions, 15 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 3034f9a..c12c81b 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -4410,16 +4410,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
4410 | 4410 | ||
4411 | #endregion | 4411 | #endregion |
4412 | 4412 | ||
4413 | #region Avatar Appearance Default | ||
4414 | |||
4415 | public static void GetDefaultAvatarAppearance(out AvatarWearable[] wearables, out byte[] visualParams) | ||
4416 | { | ||
4417 | visualParams = AvatarAppearance.GetDefaultVisualParams(); | ||
4418 | wearables = AvatarWearable.DefaultWearables; | ||
4419 | } | ||
4420 | |||
4421 | #endregion | ||
4422 | |||
4423 | public void RegionHandleRequest(IClientAPI client, UUID regionID) | 4413 | public void RegionHandleRequest(IClientAPI client, UUID regionID) |
4424 | { | 4414 | { |
4425 | ulong handle = 0; | 4415 | ulong handle = 0; |
diff --git a/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs b/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs index 56c6ed6..3b5455f 100644 --- a/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs +++ b/OpenSim/Region/Framework/Scenes/SimStatsReporter.cs | |||
@@ -238,7 +238,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
238 | sb[12].StatValue = m_otherMS / statsUpdateFactor; | 238 | sb[12].StatValue = m_otherMS / statsUpdateFactor; |
239 | 239 | ||
240 | sb[13].StatID = (uint)Stats.InPacketsPerSecond; | 240 | sb[13].StatID = (uint)Stats.InPacketsPerSecond; |
241 | sb[13].StatValue = (m_inPacketsPerSecond); | 241 | sb[13].StatValue = (m_inPacketsPerSecond / statsUpdateFactor); |
242 | 242 | ||
243 | sb[14].StatID = (uint)Stats.OutPacketsPerSecond; | 243 | sb[14].StatID = (uint)Stats.OutPacketsPerSecond; |
244 | sb[14].StatValue = (m_outPacketsPerSecond / statsUpdateFactor); | 244 | sb[14].StatValue = (m_outPacketsPerSecond / statsUpdateFactor); |
@@ -285,8 +285,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
285 | m_fps = 0; | 285 | m_fps = 0; |
286 | m_pfps = 0; | 286 | m_pfps = 0; |
287 | m_agentUpdates = 0; | 287 | m_agentUpdates = 0; |
288 | m_inPacketsPerSecond = 0; | 288 | //m_inPacketsPerSecond = 0; |
289 | m_outPacketsPerSecond = 0; | 289 | //m_outPacketsPerSecond = 0; |
290 | m_unAckedBytes = 0; | 290 | m_unAckedBytes = 0; |
291 | m_scriptLinesPerSecond = 0; | 291 | m_scriptLinesPerSecond = 0; |
292 | 292 | ||
@@ -373,12 +373,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
373 | 373 | ||
374 | public void AddInPackets(int numPackets) | 374 | public void AddInPackets(int numPackets) |
375 | { | 375 | { |
376 | m_inPacketsPerSecond += numPackets; | 376 | m_inPacketsPerSecond = numPackets; |
377 | } | 377 | } |
378 | 378 | ||
379 | public void AddOutPackets(int numPackets) | 379 | public void AddOutPackets(int numPackets) |
380 | { | 380 | { |
381 | m_outPacketsPerSecond += numPackets; | 381 | m_outPacketsPerSecond = numPackets; |
382 | } | 382 | } |
383 | 383 | ||
384 | public void AddunAckedBytes(int numBytes) | 384 | public void AddunAckedBytes(int numBytes) |