diff options
author | supermerill <merill@free.fr> | 2022-08-05 01:43:34 +0300 |
---|---|---|
committer | supermerill <merill@free.fr> | 2022-08-05 01:43:34 +0300 |
commit | 603429ea71d90aac1149671293d2bcd7ef21393f (patch) | |
tree | 355aba22699d52771fccaeaee55f6abcaa9b2112 | |
parent | 2e673b6294100588f85663d0340244dc991e05d0 (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 07a5a7150..33a189291 100644 --- a/src/libslic3r/GCode.cpp +++ b/src/libslic3r/GCode.cpp @@ -4039,7 +4039,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; |