diff options
author | UbitUmarov | 2014-08-28 12:55:31 +0100 |
---|---|---|
committer | UbitUmarov | 2014-08-28 12:55:31 +0100 |
commit | ff4df688ba548aa6050bcec232b98bd5a4ac4ffd (patch) | |
tree | 32872a2caf3740d92cb81d6256aa95aca2f8ccdd | |
parent | if we send wearables with ThrottleOutPacketType.HighPriority, then we (diff) | |
download | opensim-SC-ff4df688ba548aa6050bcec232b98bd5a4ac4ffd.zip opensim-SC-ff4df688ba548aa6050bcec232b98bd5a4ac4ffd.tar.gz opensim-SC-ff4df688ba548aa6050bcec232b98bd5a4ac4ffd.tar.bz2 opensim-SC-ff4df688ba548aa6050bcec232b98bd5a4ac4ffd.tar.xz |
send all presences terseupdates in same batch
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index e82f1d7..7227964 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -4015,8 +4015,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
4015 | } | 4015 | } |
4016 | else | 4016 | else |
4017 | { | 4017 | { |
4018 | if (update.Entity is ScenePresence && ((ScenePresence)update.Entity).UUID == AgentId) | 4018 | if (update.Entity is ScenePresence) |
4019 | // Self updates go into a special list | 4019 | // ALL presence updates go into a special list |
4020 | terseAgentUpdateBlocks.Value.Add(CreateImprovedTerseBlock(update.Entity, updateFlags.HasFlag(PrimUpdateFlags.Textures))); | 4020 | terseAgentUpdateBlocks.Value.Add(CreateImprovedTerseBlock(update.Entity, updateFlags.HasFlag(PrimUpdateFlags.Textures))); |
4021 | else | 4021 | else |
4022 | // Everything else goes here | 4022 | // Everything else goes here |
@@ -4028,7 +4028,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
4028 | 4028 | ||
4029 | #region Packet Sending | 4029 | #region Packet Sending |
4030 | 4030 | ||
4031 | const float TIME_DILATION = 1.0f; | 4031 | // const float TIME_DILATION = 1.0f; |
4032 | ushort timeDilation = Utils.FloatToUInt16(avgTimeDilation, 0.0f, 1.0f); | 4032 | ushort timeDilation = Utils.FloatToUInt16(avgTimeDilation, 0.0f, 1.0f); |
4033 | 4033 | ||
4034 | if (terseAgentUpdateBlocks.IsValueCreated) | 4034 | if (terseAgentUpdateBlocks.IsValueCreated) |