summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2021-08-18 14:36:56 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2021-08-18 14:36:56 +0300
commitcf244c191e1b3ad99fd3d127a0f309e24fb7c8e0 (patch)
tree314c38e2ab5ff69d7b1c9f28021237b2449dc652 /indra
parent4a4838aa83f85c405ab2a0354b1da35a9fe5b92c (diff)
SL-15848 FIXED Camera shaking when focused on terrain while avatar is in motion
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llagentcamera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llagentcamera.cpp b/indra/newview/llagentcamera.cpp
index ed6c3c307f..0592300e8f 100644
--- a/indra/newview/llagentcamera.cpp
+++ b/indra/newview/llagentcamera.cpp
@@ -1420,7 +1420,7 @@ void LLAgentCamera::updateCamera()
F32 smoothing = LLSmoothInterpolation::getInterpolant(gSavedSettings.getF32("CameraPositionSmoothing") * SMOOTHING_HALF_LIFE, FALSE);
- if (!mFocusObject) // we differentiate on avatar mode
+ if (mFocusOnAvatar && !mFocusObject) // we differentiate on avatar mode
{
// for avatar-relative focus, we smooth in avatar space -
// the avatar moves too jerkily w/r/t global space to smooth there.