From 0eb3a597d068635f12214e8b1f5d9647c35a7707 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 23 Nov 2016 11:40:50 +0100 Subject: spline-widget: add more buckets for Accela interpolation The rotation gain wasn't accurate enough with the previous value. --- spline-widget/spline.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spline-widget') diff --git a/spline-widget/spline.hpp b/spline-widget/spline.hpp index b79263ec..37789c00 100644 --- a/spline-widget/spline.hpp +++ b/spline-widget/spline.hpp @@ -56,7 +56,7 @@ class OPENTRACK_SPLINE_EXPORT spline final std::vector data; using interp_data_t = decltype(data); - static constexpr int value_count = 2048; + static constexpr int value_count = 4096; MyMutex _mutex; QPointF last_input_value; -- cgit v1.2.3