From 3d2cfee7554a11340df96553de4eec0809dff429 Mon Sep 17 00:00:00 2001 From: Wim Vriend Date: Sun, 14 Apr 2013 13:14:16 +0200 Subject: Update curve-config from showHeadpose --- facetracknoir/facetracknoir.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'facetracknoir/facetracknoir.cpp') 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(); -- cgit v1.2.3