diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-06-17 21:55:50 +0300 |
---|---|---|
committer | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2021-06-17 21:55:50 +0300 |
commit | 9a36c1ac2183f07420fb92627f80febf9fd8c2af (patch) | |
tree | 80efada83878340c028676147e928beb99b23441 /indra/newview | |
parent | b5d3a5b56ae4243d0f442a1e700dacbdab0a9beb (diff) |
SL-15407 The previous view mode is not highlighted on the 'Camera controls'
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llfloatercamera.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloatercamera.cpp b/indra/newview/llfloatercamera.cpp index 3b192ff81b..1c69b9d60b 100644 --- a/indra/newview/llfloatercamera.cpp +++ b/indra/newview/llfloatercamera.cpp @@ -453,18 +453,18 @@ void LLFloaterCamera::setMode(ECameraControlMode mode) void LLFloaterCamera::switchMode(ECameraControlMode mode) { - setMode(mode); - switch (mode) { case CAMERA_CTRL_MODE_PRESETS: case CAMERA_CTRL_MODE_PAN: sFreeCamera = false; + setMode(mode); // depends onto sFreeCamera clear_camera_tool(); break; case CAMERA_CTRL_MODE_FREE_CAMERA: sFreeCamera = true; + setMode(mode); activate_camera_tool(); break; |