diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2019-01-07 10:06:36 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2019-01-16 07:48:45 +0100 |
commit | 442c6251669a387b1b8b75b9cb90eec6ee9a8b9b (patch) | |
tree | df221594100fb8bdf0ff5c25fb7357e7bbdaf174 /filter-accela | |
parent | 9cc9dfcce12cc39cc2dc916982d13f63e10311c7 (diff) |
cruft only
Diffstat (limited to 'filter-accela')
-rw-r--r-- | filter-accela/ftnoir_filter_accela.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/filter-accela/ftnoir_filter_accela.cpp b/filter-accela/ftnoir_filter_accela.cpp index db7ea279..56ac9b5c 100644 --- a/filter-accela/ftnoir_filter_accela.cpp +++ b/filter-accela/ftnoir_filter_accela.cpp @@ -139,8 +139,7 @@ void accela::filter(const double* input, double *output) void settings_accela::make_splines(spline& rot, spline& pos) { - rot = spline(); - pos = spline(); + rot.clear(); pos.clear(); for (const auto& val : rot_gains) rot.add_point(QPointF(val.x, val.y)); @@ -150,4 +149,3 @@ void settings_accela::make_splines(spline& rot, spline& pos) } OPENTRACK_DECLARE_FILTER(accela, dialog_accela, accelaDll) - |