summaryrefslogtreecommitdiffhomepage
path: root/gui/options-dialog.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-11-25 09:13:14 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-11-25 09:13:14 +0100
commit97f80ccc1fed421665ee49745e230a7fb63f226a (patch)
tree9de66fe34bab9a55d2f10ba5e6694167390d70c4 /gui/options-dialog.cpp
parent50d3b377880049aebfd69c4c6f956b0f8d5326dd (diff)
Revert "logic, gui: remove relative translation disable axis"opentrack-2.3-rc99p15
This reverts commit 9fb8b48027ac8c03628955da2b186de88745e348.
Diffstat (limited to 'gui/options-dialog.cpp')
-rw-r--r--gui/options-dialog.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/gui/options-dialog.cpp b/gui/options-dialog.cpp
index 2be39ac2..bafddb57 100644
--- a/gui/options-dialog.cpp
+++ b/gui/options-dialog.cpp
@@ -51,8 +51,14 @@ OptionsDialog::OptionsDialog(std::function<void(bool)> pause_keybindings) :
tie_setting(main.tcomp_p, ui.tcomp_enable);
+ tie_setting(main.tcomp_disable_tx, ui.tcomp_tx_disable);
+ tie_setting(main.tcomp_disable_ty, ui.tcomp_ty_disable);
tie_setting(main.tcomp_disable_tz, ui.tcomp_tz_disable);
+ tie_setting(main.tcomp_disable_src_yaw, ui.tcomp_src_yaw_disable);
+ tie_setting(main.tcomp_disable_src_pitch, ui.tcomp_src_pitch_disable);
+ tie_setting(main.tcomp_disable_src_roll, ui.tcomp_src_roll_disable);
+
tie_setting(main.a_x.zero, ui.pos_tx);
tie_setting(main.a_y.zero, ui.pos_ty);
tie_setting(main.a_z.zero, ui.pos_tz);
@@ -77,6 +83,7 @@ OptionsDialog::OptionsDialog(std::function<void(bool)> pause_keybindings) :
tie_setting(main.camera_yaw, ui.camera_yaw);
tie_setting(main.camera_pitch, ui.camera_pitch);
tie_setting(main.camera_roll, ui.camera_roll);
+ tie_setting(main.use_camera_offset_from_centering, ui.use_center_as_translation_camera_offset);
tie_setting(main.center_method, ui.center_method);