summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir/facetracknoir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'facetracknoir/facetracknoir.cpp')
-rw-r--r--facetracknoir/facetracknoir.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/facetracknoir/facetracknoir.cpp b/facetracknoir/facetracknoir.cpp
index e834b6be..58381c13 100644
--- a/facetracknoir/facetracknoir.cpp
+++ b/facetracknoir/facetracknoir.cpp
@@ -168,7 +168,6 @@ FaceTrackNoIR::FaceTrackNoIR(QWidget *parent, Qt::WFlags flags) :
timUpdateHeadPose(this)
{
ui.setupUi(this);
- cameraDetected = false;
//
// Initialize Widget handles, to prevent memory-access errors.
@@ -571,6 +570,13 @@ void FaceTrackNoIR::loadSettings() {
}
}
+ if (!_curve_config)
+ {
+ _curve_config = new CurveConfigurationDialog( this, this, Qt::Dialog );
+ }
+
+ ((CurveConfigurationDialog*) _curve_config)->loadSettings();
+
settingsDirty = false;
looping = false;
}