Skip to content
Snippets Groups Projects
Unverified Commit 5abcec16 authored by Maxim Nikolenko's avatar Maxim Nikolenko Committed by GitHub
Browse files

SL-20710 ignore pelvis fixup when sitting in mouselook

parent cde3816e
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment