diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/ClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.cs b/OpenSim/Region/ClientStack/ClientView.cs index 8bdbe89..8220ae8 100644 --- a/OpenSim/Region/ClientStack/ClientView.cs +++ b/OpenSim/Region/ClientStack/ClientView.cs | |||
@@ -214,6 +214,7 @@ namespace OpenSim.Region.ClientStack | |||
214 | private UpdateVector handler089 = null; //OnUpdatePrimGroupPosition; | 214 | private UpdateVector handler089 = null; //OnUpdatePrimGroupPosition; |
215 | private UpdatePrimRotation handler090 = null; //OnUpdatePrimGroupRotation; | 215 | private UpdatePrimRotation handler090 = null; //OnUpdatePrimGroupRotation; |
216 | private UpdatePrimGroupRotation handler091 = null; //OnUpdatePrimGroupMouseRotation; | 216 | private UpdatePrimGroupRotation handler091 = null; //OnUpdatePrimGroupMouseRotation; |
217 | private PacketStats handler093 = null; // OnPacketStats; | ||
217 | 218 | ||
218 | 219 | ||
219 | /* Properties */ | 220 | /* Properties */ |
@@ -2818,9 +2819,10 @@ namespace OpenSim.Region.ClientStack | |||
2818 | 2819 | ||
2819 | protected void SendPacketStats() | 2820 | protected void SendPacketStats() |
2820 | { | 2821 | { |
2821 | if (OnPacketStats != null) | 2822 | handler093 = OnPacketStats; |
2823 | if (handler093 != null) | ||
2822 | { | 2824 | { |
2823 | OnPacketStats(m_packetsReceived - m_lastPacketsReceivedSentToScene, m_packetsSent - m_lastPacketsSentSentToScene, m_unAckedBytes); | 2825 | handler093(m_packetsReceived - m_lastPacketsReceivedSentToScene, m_packetsSent - m_lastPacketsSentSentToScene, m_unAckedBytes); |
2824 | m_lastPacketsReceivedSentToScene = m_packetsReceived; | 2826 | m_lastPacketsReceivedSentToScene = m_packetsReceived; |
2825 | m_lastPacketsSentSentToScene = m_packetsSent; | 2827 | m_lastPacketsSentSentToScene = m_packetsSent; |
2826 | } | 2828 | } |