summaryrefslogtreecommitdiffhomepage
path: root/spline/spline.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-04-30 21:35:03 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-04-30 21:35:03 +0200
commit2ed30847cfae5e32b43d8671cc02b6a10e9b66d5 (patch)
tree3e6d30d90a08320c10f07f967e0b0adf57b59098 /spline/spline.cpp
parentd12ce949137ccfc50369c919efca30c336d533b5 (diff)
spline: really fix moving points together
Diffstat (limited to 'spline/spline.cpp')
-rw-r--r--spline/spline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/spline/spline.cpp b/spline/spline.cpp
index 0f606173..195d68d6 100644
--- a/spline/spline.cpp
+++ b/spline/spline.cpp
@@ -317,7 +317,7 @@ void spline::move_point(int idx, QPointF pt)
{
points[idx] = pt;
// we don't allow points to be reordered, but sort due to possible caller logic error
- std::stable_sort(points.begin(), points.end(), sort_fn);
+ //std::stable_sort(points.begin(), points.end(), sort_fn);
s->points = points;
validp = false;
}