summaryrefslogtreecommitdiffhomepage
path: root/logic/state.hpp
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/state.hpp
parent3ffb397c4dfd6d00383f62a9e8814f4670c240be (diff)
logic/main-settings: simplify
Diffstat (limited to 'logic/state.hpp')
-rw-r--r--logic/state.hpp2
1 files changed, 1 insertions, 1 deletions
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<axis_opts*>{&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;