aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index 1ac9d7f..29751ff 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -2635,8 +2635,11 @@ 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 avatarSitResponse.SitTransform.CameraAtOffset = CameraAtOffset; 2638 if (CameraAtOffset != Vector3.Zero)
2639 avatarSitResponse.SitTransform.CameraEyeOffset = CameraEyeOffset; 2639 {
2640 avatarSitResponse.SitTransform.CameraAtOffset = CameraAtOffset;
2641 avatarSitResponse.SitTransform.CameraEyeOffset = CameraEyeOffset;
2642 }
2640 avatarSitResponse.SitTransform.ForceMouselook = ForceMouseLook; 2643 avatarSitResponse.SitTransform.ForceMouselook = ForceMouseLook;
2641 avatarSitResponse.SitTransform.AutoPilot = autopilot; 2644 avatarSitResponse.SitTransform.AutoPilot = autopilot;
2642 avatarSitResponse.SitTransform.SitPosition = OffsetPos; 2645 avatarSitResponse.SitTransform.SitPosition = OffsetPos;