aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/ClientManager.cs9
-rw-r--r--OpenSim/Framework/IClientAPI.cs1
2 files changed, 2 insertions, 8 deletions
diff --git a/OpenSim/Framework/ClientManager.cs b/OpenSim/Framework/ClientManager.cs
index 68c4dea..4ac9b3c 100644
--- a/OpenSim/Framework/ClientManager.cs
+++ b/OpenSim/Framework/ClientManager.cs
@@ -205,14 +205,7 @@ namespace OpenSim.Framework
205 { 205 {
206 if (LocalClients[i].AgentId != sender.AgentId) 206 if (LocalClients[i].AgentId != sender.AgentId)
207 { 207 {
208 ViewerEffectPacket packet = (ViewerEffectPacket)PacketPool.Instance.GetPacket(PacketType.ViewerEffect); 208 LocalClients[i].SendViewerEffect(effectBlockArray);
209 packet.Effect = effectBlockArray;
210
211 packet.AgentData.AgentID = LocalClients[i].AgentId;
212 packet.AgentData.SessionID = LocalClients[i].SessionId;
213 packet.Header.Reliable = false;
214 packet.Header.Zerocoded = true;
215 LocalClients[i].OutPacket(packet, ThrottleOutPacketType.Task);
216 } 209 }
217 } 210 }
218 } 211 }
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs
index d5d4c34..89fc0af 100644
--- a/OpenSim/Framework/IClientAPI.cs
+++ b/OpenSim/Framework/IClientAPI.cs
@@ -755,6 +755,7 @@ namespace OpenSim.Framework
755 bool AddMoney(int debit); 755 bool AddMoney(int debit);
756 756
757 void SendSunPos(Vector3 sunPos, Vector3 sunVel, ulong CurrentTime, uint SecondsPerSunCycle, uint SecondsPerYear, float OrbitalPosition); 757 void SendSunPos(Vector3 sunPos, Vector3 sunVel, ulong CurrentTime, uint SecondsPerSunCycle, uint SecondsPerYear, float OrbitalPosition);
758 void SendViewerEffect(ViewerEffectPacket.EffectBlock[] effectBlocks);
758 void SendViewerTime(int phase); 759 void SendViewerTime(int phase);
759 UUID GetDefaultAnimation(string name); 760 UUID GetDefaultAnimation(string name);
760 761