From acb60d2264fb203898b16f01952cdb3498ffac20 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 20 Oct 2017 05:34:51 +0200 Subject: logic/main-settings: simplify --- logic/state.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'logic/state.hpp') diff --git a/logic/state.hpp b/logic/state.hpp index 589de5ff..fb9587bf 100644 --- a/logic/state.hpp +++ b/logic/state.hpp @@ -23,7 +23,7 @@ struct State State(const QString& library_path) : modules(library_path), ev(modules.extensions()), - pose(std::vector{&s.a_x, &s.a_y, &s.a_z, &s.a_yaw, &s.a_pitch, &s.a_roll}) + pose(s.all_axis_opts) {} Modules modules; event_handler ev; -- cgit v1.2.3