summaryrefslogtreecommitdiffhomepage
path: root/spline-widget/spline.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-10-29 23:09:42 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-10-29 23:09:42 +0200
commitcea0ec20e60e31b998c08cbae96c4601758f101f (patch)
tree688cd75505e92767087d3de6364e15f6104fb371 /spline-widget/spline.hpp
parent031ef4c3b2ede47b30f69718fb1c0b9c4cfc1bf1 (diff)
spline-widget: don't compute the same thing over and over again
Diffstat (limited to 'spline-widget/spline.hpp')
-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 b7a8e343..c0155933 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 = 10000;
+ static constexpr int value_count = 500;
MyMutex _mutex;
QPointF last_input_value;