summaryrefslogtreecommitdiffhomepage
path: root/gui/options-dialog.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-09-25 09:05:14 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-09-25 09:10:47 +0200
commitccea3f9d2a4fba4273e3922f106ccaf504e7d2cd (patch)
tree9b19f5b1129161377daf30ed93cc54cf82232bf6 /gui/options-dialog.cpp
parent39a4e610f0b29f80ff619c93e1e1e6424c896dd6 (diff)
gui, logic: allow prevent rotation from affecting compensation
Issue: #458
Diffstat (limited to 'gui/options-dialog.cpp')
-rw-r--r--gui/options-dialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/options-dialog.cpp b/gui/options-dialog.cpp
index 71297a59..2f40e39f 100644
--- a/gui/options-dialog.cpp
+++ b/gui/options-dialog.cpp
@@ -50,6 +50,10 @@ OptionsDialog::OptionsDialog(std::function<void(bool)> pause_keybindings) :
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);