SL-15848 FIXED Camera shaking when focused on terrain while avatar is in motion

meow-7.2.2
Mnikolenko Productengine 2021-08-18 14:36:56 +03:00
parent 4a4838aa83
commit cf244c191e
1 changed files with 1 additions and 1 deletions

View File

@ -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.