Skip to content
Snippets Groups Projects
Commit b92b131f authored by Jonathan Yap's avatar Jonathan Yap
Browse files

STORM-2145 Update floater spinners if values are changed elsewhere

parent 444643ae
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment