PathAdaptive: bugfix

fix for "path to nowhere" that occurs on some enviroments
This commit is contained in:
kreso-t
2019-07-23 23:07:34 +02:00
parent e6c56b2af1
commit 3bb20a9322

View File

@@ -620,7 +620,7 @@ void SmoothPaths(Paths &paths, double stepSize, long pointCount, long iterations
points.push_back(pair<size_t /*path index*/, IntPoint>(i, pt));
continue;
}
const auto &back=points.back();
const auto back=points.back();
const IntPoint & lastPt = back.second;