summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/tracker.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-13 07:55:51 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-13 07:55:51 +0200
commit458335e772b7ad790954351859d9f754a797bd80 (patch)
tree8606ae339d05650d6e927d415e3151dace6fd3c3 /facetracknoir/tracker.h
parent7fd80129f3961465ce485a6ab7d873005b9c9427 (diff)
Fix alt axes, finally
Diffstat (limited to 'facetracknoir/tracker.h')
-rw-r--r--facetracknoir/tracker.h4
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)