diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-13 07:55:51 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-13 07:55:51 +0200 |
commit | 458335e772b7ad790954351859d9f754a797bd80 (patch) | |
tree | 8606ae339d05650d6e927d415e3151dace6fd3c3 /facetracknoir/tracker.h | |
parent | 7fd80129f3961465ce485a6ab7d873005b9c9427 (diff) |
Fix alt axes, finally
Diffstat (limited to 'facetracknoir/tracker.h')
-rw-r--r-- | facetracknoir/tracker.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/facetracknoir/tracker.h b/facetracknoir/tracker.h index 5dc48f60..8bf1f6dc 100644 --- a/facetracknoir/tracker.h +++ b/facetracknoir/tracker.h @@ -117,10 +117,12 @@ public: {
curvePtrAlt = new FunctionConfig(secondary, maxInput2, maxOutput2);
curvePtrAlt->loadSettings(iniFile);
+ iniFile.beginGroup("Tracking");
+ altp = iniFile.value(secondary).toBool();
+ iniFile.endGroup();
}
headPos = 0.0f;
invert = 1;
- altp = false;
}
float headPos; // Current position (from faceTracker, radials or meters)
float invert; // Invert measured value (= 1.0f or -1.0f)
|