From b92b131f6df3bfc19f05804a13ee5aa505d372e4 Mon Sep 17 00:00:00 2001 From: Jonathan Yap <jhwelch@gmail.com> Date: Fri, 26 Jan 2018 09:55:04 -0500 Subject: [PATCH] STORM-2145 Update floater spinners if values are changed elsewhere --- indra/newview/llfloaterpreferenceviewadvanced.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/indra/newview/llfloaterpreferenceviewadvanced.cpp b/indra/newview/llfloaterpreferenceviewadvanced.cpp index ff80328acc3..055c6f22324 100644 --- a/indra/newview/llfloaterpreferenceviewadvanced.cpp +++ b/indra/newview/llfloaterpreferenceviewadvanced.cpp @@ -130,7 +130,12 @@ void LLFloaterPreferenceViewAdvanced::updateFocusControl(LLVector3d vector3d) void LLFloaterPreferenceViewAdvanced::draw() { -// updateControl(); + static LLCachedControl<LLVector3> camera(gSavedSettings, "CameraOffsetRearView"); + static LLCachedControl<LLVector3d> focus(gSavedSettings, "FocusOffsetRearView"); + + updateCameraControl(camera); + updateFocusControl(focus); + LLFloater::draw(); } -- GitLab