summaryrefslogtreecommitdiffhomepage
path: root/spline/spline-widget.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-06-26 23:03:51 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-06-26 23:03:51 +0200
commit0d542e962f28b7e57bd3e21f4c8ff21f154f252b (patch)
tree39e1d98eb9767effbc445f9e7c4232fa5b9fee9f /spline/spline-widget.cpp
parentd37ce65ef1c224317b26664e0211aa2f82c18099 (diff)
spline/widget: remove accidental "snap"
Was affecting rotation splines.
Diffstat (limited to 'spline/spline-widget.cpp')
-rw-r--r--spline/spline-widget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/spline/spline-widget.cpp b/spline/spline-widget.cpp
index de8a6fd3..5fc2a8aa 100644
--- a/spline/spline-widget.cpp
+++ b/spline/spline-widget.cpp
@@ -509,7 +509,7 @@ void spline_widget::reload_spline()
double spline_widget::get_closeness_limit()
{
- return std::fmax(snap_x, 1);
+ return std::fmax(snap_x, .5);
}
void spline_widget::show_tooltip(const QPoint& pos, const QPointF& value_)