summaryrefslogtreecommitdiffhomepage
path: root/facetracknoir
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-10-02 06:58:45 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-10-02 06:58:45 +0200
commit3a66beb3da397c21c95fb46fd20cd56989541876 (patch)
tree917b3988053e9184773296c892ee84edf71ad6d2 /facetracknoir
parent4f13435a9d1ca366afe7ec206ce9957980d58e88 (diff)
pt: switch default calibration when used model changes
Sponsored-by: TrackHat
Diffstat (limited to 'facetracknoir')
-rw-r--r--facetracknoir/wizard.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/facetracknoir/wizard.cpp b/facetracknoir/wizard.cpp
index bc90176a..e19a29c4 100644
--- a/facetracknoir/wizard.cpp
+++ b/facetracknoir/wizard.cpp
@@ -62,13 +62,6 @@ void Wizard::set_data()
state.pose.save_mappings();
settings_pt pt;
- switch (m)
- {
- default:
- case Cap: pt.t_MH_x = 0; pt.t_MH_y = 0; pt.t_MH_z = 0; break;
- case ClipRight: pt.t_MH_x = ClipRightX; pt.t_MH_y = 0; pt.t_MH_z = 0; break;
- case ClipLeft: pt.t_MH_x = ClipLeftX; pt.t_MH_y = 0; pt.t_MH_z = 0; break;
- }
pt.threshold = 31;
pt.min_point_size = 2;
pt.max_point_size = 50;