aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-11-29 02:51:35 +0000
committerJustin Clark-Casey (justincc)2013-11-29 02:51:35 +0000
commit8b3a4367ea8d7a0a8b6fbbf261b61f28b5cbab51 (patch)
tree8f6e058d2769fba8c4fb7cfc5a222bd969fb9a22 /OpenSim/Region/ClientStack
parentRemove unused sp.ParentPosition, which has not been used for some time (diff)
downloadopensim-SC_OLD-8b3a4367ea8d7a0a8b6fbbf261b61f28b5cbab51.zip
opensim-SC_OLD-8b3a4367ea8d7a0a8b6fbbf261b61f28b5cbab51.tar.gz
opensim-SC_OLD-8b3a4367ea8d7a0a8b6fbbf261b61f28b5cbab51.tar.bz2
opensim-SC_OLD-8b3a4367ea8d7a0a8b6fbbf261b61f28b5cbab51.tar.xz
Still send CameraEyeOffset in UDP SendSitReponse even if at offset is Vector3.Zero
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs7
1 files changed, 2 insertions, 5 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 8592650..c1aae3f 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -2635,11 +2635,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
2635 { 2635 {
2636 AvatarSitResponsePacket avatarSitResponse = new AvatarSitResponsePacket(); 2636 AvatarSitResponsePacket avatarSitResponse = new AvatarSitResponsePacket();
2637 avatarSitResponse.SitObject.ID = TargetID; 2637 avatarSitResponse.SitObject.ID = TargetID;
2638 if (CameraAtOffset != Vector3.Zero) 2638 avatarSitResponse.SitTransform.CameraAtOffset = CameraAtOffset;
2639 { 2639 avatarSitResponse.SitTransform.CameraEyeOffset = CameraEyeOffset;
2640 avatarSitResponse.SitTransform.CameraAtOffset = CameraAtOffset;
2641 avatarSitResponse.SitTransform.CameraEyeOffset = CameraEyeOffset;
2642 }
2643 avatarSitResponse.SitTransform.ForceMouselook = ForceMouseLook; 2640 avatarSitResponse.SitTransform.ForceMouselook = ForceMouseLook;
2644 avatarSitResponse.SitTransform.AutoPilot = autopilot; 2641 avatarSitResponse.SitTransform.AutoPilot = autopilot;
2645 avatarSitResponse.SitTransform.SitPosition = OffsetPos; 2642 avatarSitResponse.SitTransform.SitPosition = OffsetPos;