summaryrefslogtreecommitdiffhomepage
path: root/spline-widget
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-11-02 11:56:06 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-11-02 11:56:06 +0100
commit62796cfe458305f629479bcdb4bb5b0aa74a5732 (patch)
tree0886f0dc8189ae27ba2d01235ced60bfe457d221 /spline-widget
parent47c4dbe1fef2af9eaa7d38845e83544320bd0631 (diff)
spline-widget: prevent breakage on values close to zero
Diffstat (limited to 'spline-widget')
-rw-r--r--spline-widget/spline.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/spline-widget/spline.hpp b/spline-widget/spline.hpp
index c0155933..b79263ec 100644
--- a/spline-widget/spline.hpp
+++ b/spline-widget/spline.hpp
@@ -56,7 +56,7 @@ class OPENTRACK_SPLINE_EXPORT spline final
std::vector<float> data;
using interp_data_t = decltype(data);
- static constexpr int value_count = 500;
+ static constexpr int value_count = 2048;
MyMutex _mutex;
QPointF last_input_value;