diff options
author | supermerill <merill@free.fr> | 2022-08-05 01:43:34 +0300 |
---|---|---|
committer | supermerill <merill@free.fr> | 2022-08-11 00:48:47 +0300 |
commit | 291697b280b585b8b651e408d672a11f874101b1 (patch) | |
tree | 0917b9f8f66466af5f624d99873b32fc998a0221 | |
parent | f2288a5fa4ab727cae5824773887473f9c2687c8 (diff) |
Fix wipe_inside_end for holes
supermerill/SuperSlicer#2736
-rw-r--r-- | src/libslic3r/GCode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libslic3r/GCode.cpp b/src/libslic3r/GCode.cpp index 7de2f0b6d..0ee540981 100644 --- a/src/libslic3r/GCode.cpp +++ b/src/libslic3r/GCode.cpp @@ -4037,7 +4037,7 @@ std::string GCode::extrude_loop(const ExtrusionLoop &original_loop, const std::s current_pos = pt_inside.cast<double>(); //go to the inside (use clipper for easy shift) Polygon original_polygon = original_loop.polygon(); - Polygons polys = offset(original_polygon, (original_polygon.is_clockwise()?1:-1) * dist); + Polygons polys = offset(original_polygon, -dist); //find nearest point size_t best_poly_idx = 0; size_t best_pt_idx = 0; |