From 9fb8b48027ac8c03628955da2b186de88745e348 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 18 Nov 2016 22:27:33 +0100 Subject: logic, gui: remove relative translation disable axis Only Z needs this. --- gui/options-dialog.cpp | 7 ---- gui/options-dialog.ui | 88 ++------------------------------------------------ 2 files changed, 2 insertions(+), 93 deletions(-) (limited to 'gui') diff --git a/gui/options-dialog.cpp b/gui/options-dialog.cpp index bafddb57..2be39ac2 100644 --- a/gui/options-dialog.cpp +++ b/gui/options-dialog.cpp @@ -51,14 +51,8 @@ OptionsDialog::OptionsDialog(std::function 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); @@ -83,7 +77,6 @@ OptionsDialog::OptionsDialog(std::function 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); diff --git a/gui/options-dialog.ui b/gui/options-dialog.ui index f23dd63f..737bc581 100644 --- a/gui/options-dialog.ui +++ b/gui/options-dialog.ui @@ -7,7 +7,7 @@ 0 0 450 - 599 + 593 @@ -463,13 +463,6 @@ - - - Use camera center as translation offset - - - - @@ -494,7 +487,7 @@ - + QGroupBox @@ -943,38 +936,6 @@ 0 - - - - 3 - 0 - - - - - - - Disable for X - - - - - - - - 3 - 0 - - - - - - - Disable for Y - - - - @@ -990,45 +951,6 @@ - - - - - 2 - 0 - - - - Disable effect by yaw - - - - - - - - 2 - 0 - - - - Disable effect by pitch - - - - - - - - 2 - 0 - - - - Disable effect by roll - - - @@ -1583,7 +1505,6 @@ bind_tcomp_off_held trayp tray_start - use_center_as_translation_camera_offset camera_yaw camera_pitch camera_roll @@ -1608,12 +1529,7 @@ invert_z tracklogging_enabled tcomp_enable - tcomp_tx_disable - tcomp_ty_disable tcomp_tz_disable - tcomp_src_yaw_disable - tcomp_src_pitch_disable - tcomp_src_roll_disable -- cgit v1.2.3