aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
diff options
context:
space:
mode:
authorMelanie2012-01-16 23:08:47 +0000
committerMelanie2012-01-16 23:08:47 +0000
commitb14a6acd2f7d92a9a0d59b5e6e2ede2d73f5944b (patch)
tree1536dc38dbe3cd4d690cf02eb26d2ae191d1b903 /OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
parentAdd methods to allow the groups modules to query online status and last login (diff)
parentComment out noisy log lines I accidentally included in the nant build target ... (diff)
downloadopensim-SC_OLD-b14a6acd2f7d92a9a0d59b5e6e2ede2d73f5944b.zip
opensim-SC_OLD-b14a6acd2f7d92a9a0d59b5e6e2ede2d73f5944b.tar.gz
opensim-SC_OLD-b14a6acd2f7d92a9a0d59b5e6e2ede2d73f5944b.tar.bz2
opensim-SC_OLD-b14a6acd2f7d92a9a0d59b5e6e2ede2d73f5944b.tar.xz
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs15
1 files changed, 10 insertions, 5 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index a097ec9..873c56c 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -785,9 +785,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
785 OutPacket(handshake, ThrottleOutPacketType.Task); 785 OutPacket(handshake, ThrottleOutPacketType.Task);
786 } 786 }
787 787
788 /// <summary>
789 ///
790 /// </summary>
791 public void MoveAgentIntoRegion(RegionInfo regInfo, Vector3 pos, Vector3 look) 788 public void MoveAgentIntoRegion(RegionInfo regInfo, Vector3 pos, Vector3 look)
792 { 789 {
793 AgentMovementCompletePacket mov = (AgentMovementCompletePacket)PacketPool.Instance.GetPacket(PacketType.AgentMovementComplete); 790 AgentMovementCompletePacket mov = (AgentMovementCompletePacket)PacketPool.Instance.GetPacket(PacketType.AgentMovementComplete);
@@ -3497,6 +3494,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
3497 3494
3498 public void SendAppearance(UUID agentID, byte[] visualParams, byte[] textureEntry) 3495 public void SendAppearance(UUID agentID, byte[] visualParams, byte[] textureEntry)
3499 { 3496 {
3497// m_log.DebugFormat(
3498// "[LLCLIENTVIEW]: Sending avatar appearance for {0} with {1} bytes to {2} {3}",
3499// agentID, textureEntry.Length, Name, AgentId);
3500
3500 AvatarAppearancePacket avp = (AvatarAppearancePacket)PacketPool.Instance.GetPacket(PacketType.AvatarAppearance); 3501 AvatarAppearancePacket avp = (AvatarAppearancePacket)PacketPool.Instance.GetPacket(PacketType.AvatarAppearance);
3501 // TODO: don't create new blocks if recycling an old packet 3502 // TODO: don't create new blocks if recycling an old packet
3502 avp.VisualParam = new AvatarAppearancePacket.VisualParamBlock[218]; 3503 avp.VisualParam = new AvatarAppearancePacket.VisualParamBlock[218];
@@ -3518,7 +3519,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
3518 3519
3519 public void SendAnimations(UUID[] animations, int[] seqs, UUID sourceAgentId, UUID[] objectIDs) 3520 public void SendAnimations(UUID[] animations, int[] seqs, UUID sourceAgentId, UUID[] objectIDs)
3520 { 3521 {
3521 //m_log.DebugFormat("[CLIENT]: Sending animations to {0}", Name); 3522// m_log.DebugFormat("[LLCLIENTVIEW]: Sending animations for {0} to {1}", sourceAgentId, Name);
3522 3523
3523 AvatarAnimationPacket ani = (AvatarAnimationPacket)PacketPool.Instance.GetPacket(PacketType.AvatarAnimation); 3524 AvatarAnimationPacket ani = (AvatarAnimationPacket)PacketPool.Instance.GetPacket(PacketType.AvatarAnimation);
3524 // TODO: don't create new blocks if recycling an old packet 3525 // TODO: don't create new blocks if recycling an old packet
@@ -3553,6 +3554,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
3553 /// </summary> 3554 /// </summary>
3554 public void SendAvatarDataImmediate(ISceneEntity avatar) 3555 public void SendAvatarDataImmediate(ISceneEntity avatar)
3555 { 3556 {
3557// m_log.DebugFormat(
3558// "[LLCLIENTVIEW]: Sending immediate object update for avatar {0} {1} to {2} {3}",
3559// avatar.Name, avatar.UUID, Name, AgentId);
3560
3556 ScenePresence presence = avatar as ScenePresence; 3561 ScenePresence presence = avatar as ScenePresence;
3557 if (presence == null) 3562 if (presence == null)
3558 return; 3563 return;
@@ -3562,7 +3567,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
3562 3567
3563 objupdate.RegionData.RegionHandle = presence.RegionHandle; 3568 objupdate.RegionData.RegionHandle = presence.RegionHandle;
3564 objupdate.RegionData.TimeDilation = ushort.MaxValue; 3569 objupdate.RegionData.TimeDilation = ushort.MaxValue;
3565 3570
3566 objupdate.ObjectData = new ObjectUpdatePacket.ObjectDataBlock[1]; 3571 objupdate.ObjectData = new ObjectUpdatePacket.ObjectDataBlock[1];
3567 objupdate.ObjectData[0] = CreateAvatarUpdateBlock(presence); 3572 objupdate.ObjectData[0] = CreateAvatarUpdateBlock(presence);
3568 3573