diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2017-10-20 17:11:27 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2017-10-20 17:12:21 +0200 |
commit | 2e778f953bf6efb71f0b000a9b930a245b3b11e0 (patch) | |
tree | c6efe57a95854c248db69d71c4ac1759a46859be | |
parent | 957a2bf95fed2362d50de64721642dbc0bd8f911 (diff) |
fix wrt spline api
-rw-r--r-- | filter-accela/ftnoir_filter_accela.cpp | 6 | ||||
-rw-r--r-- | migration/20171020_00-max-pitch-output.cpp | 2 | ||||
-rw-r--r-- | tracker-tobii-eyex/tobii-settings.cpp | 3 |
3 files changed, 2 insertions, 9 deletions
diff --git a/filter-accela/ftnoir_filter_accela.cpp b/filter-accela/ftnoir_filter_accela.cpp index a0c48ff1..51b5d6e9 100644 --- a/filter-accela/ftnoir_filter_accela.cpp +++ b/filter-accela/ftnoir_filter_accela.cpp @@ -179,12 +179,6 @@ void settings_accela::make_splines(spline& rot, spline& pos) rot = spline(); pos = spline(); - rot.set_max_input(rot_gains[0].x); - rot.set_max_output(rot_gains[0].y); - - pos.set_max_input(pos_gains[0].x); - pos.set_max_output(pos_gains[0].y); - for (const auto& val : rot_gains) rot.add_point(QPointF(val.x, val.y)); diff --git a/migration/20171020_00-max-pitch-output.cpp b/migration/20171020_00-max-pitch-output.cpp index a5467b28..f084f7fb 100644 --- a/migration/20171020_00-max-pitch-output.cpp +++ b/migration/20171020_00-max-pitch-output.cpp @@ -61,7 +61,7 @@ struct max_pitch_output : migration main_settings s; axis_opts& pitch_opts = s.a_pitch; - pitch_opts.clamp_y = axis_opts::o_r180; + pitch_opts.clamp_y_ = axis_opts::o_r180; s.b_map->save(); } diff --git a/tracker-tobii-eyex/tobii-settings.cpp b/tracker-tobii-eyex/tobii-settings.cpp index 406f10ed..c3129ec5 100644 --- a/tracker-tobii-eyex/tobii-settings.cpp +++ b/tracker-tobii-eyex/tobii-settings.cpp @@ -79,8 +79,7 @@ rel_settings::rel_settings() : expt_slope(b, "exponent-slope", s(1.75, 1.5, 3)), expt_len(b, "exponent-length", s(.2, 0, .5)), expt_norm(b, "exponent-norm", s(.4, .1, .5)), - log_len(b, "log-len", s(.1, 0, .2)), - acc_mode_spline(100, 100, "") + log_len(b, "log-len", s(.1, 0, .2)) { make_spline(); } |