summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/tracker.h
diff options
context:
space:
mode:
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)