summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2013-04-14 13:14:16 +0200
committerWim Vriend <facetracknoir@gmail.com>2013-04-14 13:14:16 +0200
commit3d2cfee7554a11340df96553de4eec0809dff429 (patch)
tree6067ff93dea65866a8a500ea925c1eec95a86941
parent0badf0c6095c4b6bac87ebaab2b54d5e19edbd4b (diff)
Update curve-config from showHeadpose
-rw-r--r--facetracknoir/facetracknoir.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp
index f2e13899..72983b55 100644
--- a/facetracknoir/facetracknoir.cpp
+++ b/facetracknoir/facetracknoir.cpp
@@ -998,6 +998,14 @@ void FaceTrackNoIR::showHeadPose() {
ui.lcdNumOutputRotY->display(QString("%1").arg(newdata[RY], 0, 'f', 1));
ui.lcdNumOutputRotZ->display(QString("%1").arg(newdata[RZ], 0, 'f', 1));
}
+
+ //
+ // Update the curves in the curve-configurator. This shows the ball with the red lines.
+ //
+ if (_curve_config) {
+ _curve_config->update();
+ }
+
}
/** toggles Video Widget **/
@@ -1692,7 +1700,7 @@ void FaceTrackNoIR::bindKeyboardShortcuts()
keyInhibit.keycode = global_windows_key_sequences[idxInhibit];
if (idxStartStop > 0 && idxStartStop < global_windows_key_sequences.size())
keyStartStop.keycode = global_windows_key_sequences[idxStartStop];
-
+
keyCenter.shift = iniFile.value("Shift_Center", false).toBool();
keyCenter.alt = iniFile.value("Alt_Center", false).toBool();
keyCenter.ctrl = iniFile.value("Ctrl_Center", false).toBool();