summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterpreferenceviewadvanced.cpp
diff options
context:
space:
mode:
authorJonathan Yap <jhwelch@gmail.com>2018-01-26 09:55:04 -0500
committerJonathan Yap <jhwelch@gmail.com>2018-01-26 09:55:04 -0500
commitb92b131f6df3bfc19f05804a13ee5aa505d372e4 (patch)
tree7474b2e276454865b6d0db535103a4785830a159 /indra/newview/llfloaterpreferenceviewadvanced.cpp
parent444643aeb0b80fdfbe28e0e2faae56de9d4f6e4a (diff)
STORM-2145 Update floater spinners if values are changed elsewhere
Diffstat (limited to 'indra/newview/llfloaterpreferenceviewadvanced.cpp')
-rw-r--r--indra/newview/llfloaterpreferenceviewadvanced.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llfloaterpreferenceviewadvanced.cpp b/indra/newview/llfloaterpreferenceviewadvanced.cpp
index ff80328acc..055c6f2232 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();
}