From ed02621aff4b3c76000db567b7e77733dc4e28e6 Mon Sep 17 00:00:00 2001 From: Ansariel Date: Sat, 12 Nov 2016 02:56:06 +0100 Subject: [PATCH] Stand/Fly button not showing if sitting/flying in mouselook with FSShowInterfaceInMouselook = TRUE --- indra/newview/llmoveview.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/indra/newview/llmoveview.cpp b/indra/newview/llmoveview.cpp index e435e0b666..e2d9e7ee4a 100644 --- a/indra/newview/llmoveview.cpp +++ b/indra/newview/llmoveview.cpp @@ -624,7 +624,10 @@ BOOL LLPanelStandStopFlying::postBuild() void LLPanelStandStopFlying::setVisible(BOOL visible) { //we dont need to show the panel if these buttons are not activated - if (gAgentCamera.getCameraMode() == CAMERA_MODE_MOUSELOOK) visible = false; + // Stand/Fly button not showing if sitting/flying in mouselook with FSShowInterfaceInMouselook = TRUE + //if (gAgentCamera.getCameraMode() == CAMERA_MODE_MOUSELOOK) visible = false; + if (gAgentCamera.getCameraMode() == CAMERA_MODE_MOUSELOOK && !gSavedSettings.getBOOL("FSShowInterfaceInMouselook")) visible = false; + // if (visible) {