From f3708cf6a85f4447e2333642453a4a0232986942 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Fri, 28 Aug 2015 13:49:29 +0200 Subject: save axis opts, not just spline control points This caused the "invert axis got switched on" bug. --- opentrack/main-settings.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'opentrack/main-settings.hpp') 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 zero; value invert, altp; value 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), -- cgit v1.2.3