* VisualParams are now stored in Agent and sent to new clients on connect
* Experimental ViewerEffect sending

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2146 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2008-08-21 21:00:51 +00:00
parent 09582ed2b9
commit c2df9878db
4 changed files with 50 additions and 14 deletions

View File

@@ -231,7 +231,15 @@ namespace Simian.Extensions
{
ViewerEffectPacket effect = (ViewerEffectPacket)packet;
// TODO: Do something with these
effect.AgentData.AgentID = UUID.Zero;
effect.AgentData.SessionID = UUID.Zero;
// Broadcast this to everyone
lock (Server.Agents)
{
foreach (Agent recipient in Server.Agents.Values)
recipient.SendPacket(effect);
}
}
public static ObjectUpdatePacket BuildFullUpdate(Agent agent, LLObject obj, ulong regionHandle, byte state, LLObject.ObjectFlags flags)