diff options
author | bubnikv <bubnikv@gmail.com> | 2016-12-13 21:22:23 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2016-12-13 21:22:23 +0300 |
commit | 6582182e0c47ffd231c2d84808715a4209108fe2 (patch) | |
tree | f18581f104edc74812308a574a4fc1831797c182 /xs/src/libslic3r/Fill/FillRectilinear.cpp | |
parent | b2a5a1d22f67eba636d41f49c7684f2480fd3242 (diff) |
Adapted to the new ClipperUtils.hpp interface by @alexrj
Diffstat (limited to 'xs/src/libslic3r/Fill/FillRectilinear.cpp')
-rw-r--r-- | xs/src/libslic3r/Fill/FillRectilinear.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xs/src/libslic3r/Fill/FillRectilinear.cpp b/xs/src/libslic3r/Fill/FillRectilinear.cpp index 5559a5437..991adc0b3 100644 --- a/xs/src/libslic3r/Fill/FillRectilinear.cpp +++ b/xs/src/libslic3r/Fill/FillRectilinear.cpp @@ -63,7 +63,7 @@ void FillRectilinear::_fill_surface_single( pts.push_back(it->a); pts.push_back(it->b); } - Polylines polylines = intersection(polylines_src, offset((Polygons)expolygon, scale_(0.02)), false); + Polylines polylines = intersection_pl(polylines_src, offset(to_polygons(expolygon), scale_(0.02)), false); // FIXME Vojtech: This is only performed for horizontal lines, not for the vertical lines! const float INFILL_OVERLAP_OVER_SPACING = 0.3f; |