summaryrefslogtreecommitdiffhomepage
path: root/opentrack-logic/state.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'opentrack-logic/state.hpp')
-rw-r--r--opentrack-logic/state.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/opentrack-logic/state.hpp b/opentrack-logic/state.hpp
index ff46cc36..f9bb82c0 100644
--- a/opentrack-logic/state.hpp
+++ b/opentrack-logic/state.hpp
@@ -17,13 +17,15 @@ using namespace options;
#include "selected-libraries.hpp"
#include "work.hpp"
-struct State {
+struct State
+{
State() :
pose(std::vector<axis_opts*>{&s.a_x, &s.a_y, &s.a_z, &s.a_yaw, &s.a_pitch, &s.a_roll})
{}
Modules modules;
SelectedLibraries libs;
main_settings s;
+ module_settings m;
Mappings pose;
mem<Work> work;
};