diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 1 | ||||
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SimStatsReporter.cs | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 5278202..575fe01 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -643,6 +643,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
643 | { | 643 | { |
644 | if (!agent.IsChildAgent) | 644 | if (!agent.IsChildAgent) |
645 | { | 645 | { |
646 | pack.Header.Reliable = false; | ||
646 | agent.ControllingClient.OutPacket(pack, ThrottleOutPacketType.Task); | 647 | agent.ControllingClient.OutPacket(pack, ThrottleOutPacketType.Task); |
647 | } | 648 | } |
648 | } | 649 | } |
diff --git a/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs b/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs index 5033965..420769c 100644 --- a/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs +++ b/OpenSim/Region/Environment/Scenes/SimStatsReporter.cs | |||
@@ -105,14 +105,14 @@ namespace OpenSim.Region.Environment.Scenes | |||
105 | float simfps = (int) (m_fps*5); | 105 | float simfps = (int) (m_fps*5); |
106 | 106 | ||
107 | if (simfps > 45) | 107 | if (simfps > 45) |
108 | simfps = simfps - (simfps - 45); | 108 | simfps = simfps - (simfps - 45); |
109 | if (simfps < 0) | 109 | if (simfps < 0) |
110 | simfps = 0; | 110 | simfps = 0; |
111 | 111 | ||
112 | float physfps = (m_pfps/statsUpdatesEveryMS); | 112 | float physfps = (m_pfps/statsUpdatesEveryMS); |
113 | 113 | ||
114 | if (physfps > 50) | 114 | if (physfps > 500) |
115 | physfps = physfps - (physfps - 50); | 115 | physfps = physfps - (physfps - 500); |
116 | 116 | ||
117 | if (physfps < 0) | 117 | if (physfps < 0) |
118 | physfps = 0; | 118 | physfps = 0; |