diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-08-28 13:49:29 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-08-28 13:49:59 +0200 |
commit | f3708cf6a85f4447e2333642453a4a0232986942 (patch) | |
tree | 04483942f37f22e6551f3d1488f2beece9123708 /opentrack/main-settings.hpp | |
parent | e07a72493f6145b55efb305c955032ffd73e94c3 (diff) |
save axis opts, not just spline control points
This caused the "invert axis got switched on" bug.
Diffstat (limited to 'opentrack/main-settings.hpp')
-rw-r--r-- | opentrack/main-settings.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/opentrack/main-settings.hpp b/opentrack/main-settings.hpp index 8c49f86a..b973e7af 100644 --- a/opentrack/main-settings.hpp +++ b/opentrack/main-settings.hpp @@ -15,10 +15,12 @@ using namespace options; struct axis_opts { + pbundle b; value<double> zero; value<bool> invert, altp; value<int> src; axis_opts(pbundle b, QString pfx, int idx) : + b(b), zero(b, n(pfx, "zero-pos"), 0), invert(b, n(pfx, "invert-sign"), false), altp(b, n(pfx, "alt-axis-sign"), false), |