From ba578edf71db5d7ceaafeedea164bdc5bfd72e18 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Fri, 29 May 2020 09:21:12 +0200 Subject: [PATCH] Add explanatory comment --- indra/newview/llviewermenu.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp index 1ad99870d0..09db1a7308 100644 --- a/indra/newview/llviewermenu.cpp +++ b/indra/newview/llviewermenu.cpp @@ -5239,6 +5239,8 @@ void handle_reset_view() // Added optional V1 behavior so the avatar turns into camera direction after hitting ESC if (!gSavedSettings.getBOOL("ResetViewTurnsAvatar")) { + // The only thing we actually want to do here is set LLAgent::mFocusOnAvatar to TRUE, + // since this prevents the avatar from turning. gAgentCamera.setFocusOnAvatar(TRUE, FALSE, FALSE); } //