diff options
author | maxim_productengine <mnikolenko@productengine.com> | 2019-11-13 17:39:40 +0200 |
---|---|---|
committer | maxim_productengine <mnikolenko@productengine.com> | 2019-11-13 17:39:40 +0200 |
commit | 7637f343865960ee509ae31205c097f0bb04aac1 (patch) | |
tree | 45c20e7b9337d5a068ce0cf39ef0eef012b4c58a /indra/newview/llfloaterpreferenceviewadvanced.cpp | |
parent | 4778417f25f070e9019e975c979d93fb8881b5ac (diff) |
SL-12186 WIP Get rid of excessive offset settings as we moved to store data in xml
Diffstat (limited to 'indra/newview/llfloaterpreferenceviewadvanced.cpp')
-rw-r--r-- | indra/newview/llfloaterpreferenceviewadvanced.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloaterpreferenceviewadvanced.cpp b/indra/newview/llfloaterpreferenceviewadvanced.cpp index 57484d0d0a..f8db738923 100644 --- a/indra/newview/llfloaterpreferenceviewadvanced.cpp +++ b/indra/newview/llfloaterpreferenceviewadvanced.cpp @@ -73,10 +73,10 @@ void LLFloaterPreferenceViewAdvanced::onCommitSettings() vector.mV[VX] = (F32)getChild<LLUICtrl>("camera_x")->getValue().asReal(); vector.mV[VY] = (F32)getChild<LLUICtrl>("camera_y")->getValue().asReal(); vector.mV[VZ] = (F32)getChild<LLUICtrl>("camera_z")->getValue().asReal(); - gSavedSettings.setVector3(gAgentCamera.getCameraOffsetCtrlName(), vector); + gSavedSettings.setVector3("CameraOffsetRearView", vector); vector3d.mdV[VX] = (F32)getChild<LLUICtrl>("focus_x")->getValue().asReal(); vector3d.mdV[VY] = (F32)getChild<LLUICtrl>("focus_y")->getValue().asReal(); vector3d.mdV[VZ] = (F32)getChild<LLUICtrl>("focus_z")->getValue().asReal(); - gSavedSettings.setVector3d(gAgentCamera.getFocusOffsetCtrlName(), vector3d); + gSavedSettings.setVector3d("FocusOffsetRearView", vector3d); } |