diff --git a/src/libslic3r/SLA/SLAAutoSupports.cpp b/src/libslic3r/SLA/SLAAutoSupports.cpp index 5a7ce6aab..5011c485b 100644 --- a/src/libslic3r/SLA/SLAAutoSupports.cpp +++ b/src/libslic3r/SLA/SLAAutoSupports.cpp @@ -254,12 +254,11 @@ std::vector SLAAutoSupports::uniformly_cover(const std::pair{unscale(out(0), out(1), out(2))}; + return std::vector{unscale(out(0), out(1), island.second)}; } HOLE_HIT: @@ -296,10 +295,8 @@ HOLE_HIT: } } } - if (add_it) { - out(2) = island.second; + if (add_it) island_new_points.emplace_back(unscaled_out); - } } return island_new_points; }