STORM-2145 Update floater spinners if values are changed elsewhere

master
Jonathan Yap 2018-01-26 09:55:04 -05:00
parent 444643aeb0
commit b92b131f6d
1 changed files with 6 additions and 1 deletions

View File

@ -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();
}