diff options
author | casper <c.lamboo@ultimaker.com> | 2022-01-07 17:55:37 +0300 |
---|---|---|
committer | Remco Burema <r.burema@ultimaker.com> | 2022-01-07 18:50:58 +0300 |
commit | 0e79559492a9e3e631c28624b73a888b3297f174 (patch) | |
tree | 4d5e549b919271d97bcf314f6a6e06eeeeef6d58 | |
parent | 62a61544f4067c3824dcb16c07effb2effd74c3f (diff) |
Remove simplify function of open paths in makePolygons4.13.0
As simplify only works for closed polygons some line segments were incorrectly removed.
Fixes CURA-8860
-rw-r--r-- | src/slicer.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/slicer.cpp b/src/slicer.cpp index 50662615b..9efe52370 100644 --- a/src/slicer.cpp +++ b/src/slicer.cpp @@ -789,7 +789,6 @@ void SlicerLayer::makePolygons(const Mesh* mesh) it = std::remove_if(openPolylines.begin(), openPolylines.end(), [snap_distance](PolygonRef poly) { return poly.shorterThan(snap_distance); }); openPolylines.erase(it, openPolylines.end()); - openPolylines.simplify(); openPolylines.removeDegenerateVerts(); } |