aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
diff options
context:
space:
mode:
authorJohn Hurliman2009-10-27 00:26:56 -0700
committerJohn Hurliman2009-10-27 00:26:56 -0700
commitc75d4156487b35aac47aa6818144862a99bb841c (patch)
treef00f7b485cb3a39477fa77dbd162c40ede533190 /OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
parentAdding missing CSJ2K reference to OpenSim.Region.Physics.Meshing (diff)
downloadopensim-SC-c75d4156487b35aac47aa6818144862a99bb841c.zip
opensim-SC-c75d4156487b35aac47aa6818144862a99bb841c.tar.gz
opensim-SC-c75d4156487b35aac47aa6818144862a99bb841c.tar.bz2
opensim-SC-c75d4156487b35aac47aa6818144862a99bb841c.tar.xz
* Converts ClientManager.ForEach() (and as a result, Scene.ForEachClient()) to use a non-blocking parallel method when operating in async mode
* Minor code readability cleanup
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 31028b3..f6a7a0c 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -2105,12 +2105,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP
2105 public void SendViewerEffect(ViewerEffectPacket.EffectBlock[] effectBlocks) 2105 public void SendViewerEffect(ViewerEffectPacket.EffectBlock[] effectBlocks)
2106 { 2106 {
2107 ViewerEffectPacket packet = (ViewerEffectPacket)PacketPool.Instance.GetPacket(PacketType.ViewerEffect); 2107 ViewerEffectPacket packet = (ViewerEffectPacket)PacketPool.Instance.GetPacket(PacketType.ViewerEffect);
2108 packet.Effect = effectBlocks; 2108 packet.Header.Reliable = false;
2109 packet.Header.Zerocoded = true;
2109 2110
2110 packet.AgentData.AgentID = AgentId; 2111 packet.AgentData.AgentID = AgentId;
2111 packet.AgentData.SessionID = SessionId; 2112 packet.AgentData.SessionID = SessionId;
2112 packet.Header.Reliable = false; 2113
2113 packet.Header.Zerocoded = true; 2114 packet.Effect = effectBlocks;
2115
2114 OutPacket(packet, ThrottleOutPacketType.State); 2116 OutPacket(packet, ThrottleOutPacketType.State);
2115 } 2117 }
2116 2118