diff options
author | UbitUmarov | 2016-11-16 22:34:56 +0000 |
---|---|---|
committer | UbitUmarov | 2016-11-16 22:34:56 +0000 |
commit | e77f91311678154390d09b586fbd8162cd3bb601 (patch) | |
tree | 705a746173a4c95b52573cfc0b561a09fdee9d9b /OpenSim/Region/ClientStack | |
parent | fix parsing of a vector4 and storing on a lsl quaternion needed for lightSha... (diff) | |
download | opensim-SC_OLD-e77f91311678154390d09b586fbd8162cd3bb601.zip opensim-SC_OLD-e77f91311678154390d09b586fbd8162cd3bb601.tar.gz opensim-SC_OLD-e77f91311678154390d09b586fbd8162cd3bb601.tar.bz2 opensim-SC_OLD-e77f91311678154390d09b586fbd8162cd3bb601.tar.xz |
minor: dont let rcvd agentupdates time jump back
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 46c6a19..8d07bae 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -6251,9 +6251,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
6251 | return false; | 6251 | return false; |
6252 | } | 6252 | } |
6253 | 6253 | ||
6254 | uint seq = packet.Header.Sequence; | ||
6255 | |||
6254 | TotalAgentUpdates++; | 6256 | TotalAgentUpdates++; |
6255 | // dont let ignored updates pollute this throttles | 6257 | // dont let ignored updates pollute this throttles |
6256 | if(SceneAgent == null || SceneAgent.IsChildAgent || SceneAgent.IsInTransit) | 6258 | if(SceneAgent == null || SceneAgent.IsChildAgent || |
6259 | SceneAgent.IsInTransit || seq <= m_thisAgentUpdateArgs.lastpacketSequence ) | ||
6257 | { | 6260 | { |
6258 | // throttle reset is done at MoveAgentIntoRegion() | 6261 | // throttle reset is done at MoveAgentIntoRegion() |
6259 | // called by scenepresence on completemovement | 6262 | // called by scenepresence on completemovement |
@@ -6261,6 +6264,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
6261 | return true; | 6264 | return true; |
6262 | } | 6265 | } |
6263 | 6266 | ||
6267 | m_thisAgentUpdateArgs.lastpacketSequence = seq; | ||
6268 | |||
6264 | bool movement = CheckAgentMovementUpdateSignificance(x); | 6269 | bool movement = CheckAgentMovementUpdateSignificance(x); |
6265 | bool camera = CheckAgentCameraUpdateSignificance(x); | 6270 | bool camera = CheckAgentCameraUpdateSignificance(x); |
6266 | 6271 | ||