summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-26 05:19:16 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-26 05:19:16 +0200
commit9bcde553cb7d4b8f53399f0999d4b9cca3751410 (patch)
tree8c6cb08a4e54f0c6e3b33eb305251da1960a3409
parentfc2fcb52fa467cadb38708ed49ee9269b4478f63 (diff)
pt: oops, set used model from wizard
-rw-r--r--facetracknoir/wizard.cpp1
-rw-r--r--facetracknoir/wizard.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/facetracknoir/wizard.cpp b/facetracknoir/wizard.cpp
index 669a9c27..bc90176a 100644
--- a/facetracknoir/wizard.cpp
+++ b/facetracknoir/wizard.cpp
@@ -74,6 +74,7 @@ void Wizard::set_data()
pt.max_point_size = 50;
pt.fov = 1;
pt.camera_mode = 0;
+ pt.model_used = m;
pt.b->save();
settings_accela acc;
diff --git a/facetracknoir/wizard.h b/facetracknoir/wizard.h
index b0398915..ea848e36 100644
--- a/facetracknoir/wizard.h
+++ b/facetracknoir/wizard.h
@@ -14,7 +14,7 @@ class Wizard : public QWizard
public:
Wizard();
- enum Model { Cap, ClipRight, ClipLeft };
+ enum Model { Cap = 0, ClipRight = 1, ClipLeft = 2 };
enum { ClipRightX = 135, ClipLeftX = -135 };
private slots:
void set_data();