summaryrefslogtreecommitdiffhomepage
path: root/logic/main-settings.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-20 05:34:51 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-10-20 05:34:51 +0200
commitacb60d2264fb203898b16f01952cdb3498ffac20 (patch)
tree9261a5e0c67147dd22333f5cd29e8d35c91a8541 /logic/main-settings.cpp
parent3ffb397c4dfd6d00383f62a9e8814f4670c240be (diff)
logic/main-settings: simplify
Diffstat (limited to 'logic/main-settings.cpp')
-rw-r--r--logic/main-settings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/logic/main-settings.cpp b/logic/main-settings.cpp
index 1b94fbe8..a706abe6 100644
--- a/logic/main-settings.cpp
+++ b/logic/main-settings.cpp
@@ -9,6 +9,7 @@ main_settings::main_settings() :
a_yaw(b, b_map, "yaw", Yaw),
a_pitch(b, b_map, "pitch", Pitch),
a_roll(b, b_map, "roll", Roll),
+ all_axis_opts { &a_x, &a_y, &a_z, &a_yaw, &a_pitch, &a_roll },
tcomp_p(b, "compensate-translation", false),
tcomp_disable_tx(b, "compensate-translation-disable-x-axis", false),
tcomp_disable_ty(b, "compensate-translation-disable-y-axis", false),