summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2018-01-30 09:52:09 -0500
committerOz Linden <oz@lindenlab.com>2018-01-30 09:52:09 -0500
commit3df7b7c9bade999c089a796d917a720efd822e3c (patch)
tree2c1153e76ebeecd6621264447169cd7427660fb8
parent149d4ce795a9bcfe8d0a9d83521b94d25ca8deab (diff)
parentb92b131f6df3bfc19f05804a13ee5aa505d372e4 (diff)
merge latest change from Jonathan
-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();
}