diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2023-12-12 18:29:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-12 18:29:55 +0200 |
commit | 5abcec163c46c2bcb06ba9703c717f0e037f087e (patch) | |
tree | e94ce2b483cda9014968e03a17e4a929955372c1 /indra/newview | |
parent | cde3816ed07489415257e3bda3f64069ca580b0d (diff) |
SL-20710 ignore pelvis fixup when sitting in mouselook
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llagentcamera.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llagentcamera.cpp b/indra/newview/llagentcamera.cpp index 29642d3f45..e54d3a2042 100644 --- a/indra/newview/llagentcamera.cpp +++ b/indra/newview/llagentcamera.cpp @@ -1773,7 +1773,7 @@ LLVector3d LLAgentCamera::calcCameraPositionTargetGlobal(BOOL *hit_limit) head_offset.clearVec(); F32 fixup; - if (gAgentAvatarp->hasPelvisFixup(fixup)) + if (gAgentAvatarp->hasPelvisFixup(fixup) && !gAgentAvatarp->isSitting()) { head_offset[VZ] -= fixup; } |