Fixed a regression issue in the triangle mesh slicing code, where
a broken contour was not glued together using the closest neighbors.
This commit is contained in:
parent
a0d5a961bd
commit
c482933845
4 changed files with 7 additions and 6 deletions
src/libslic3r
|
@ -2850,7 +2850,7 @@ void modulate_extrusion_by_overlapping_layers(
|
|||
if (end_and_dist2.first == nullptr) {
|
||||
// New fragment connecting to pt_current was not found.
|
||||
// Verify that the last point found is close to the original end point of the unfragmented path.
|
||||
//const double d2 = (pt_end - pt_current).squaredNorm();
|
||||
//const double d2 = (pt_end - pt_current).cast<double>.squaredNorm();
|
||||
//assert(d2 < coordf_t(search_radius * search_radius));
|
||||
// End of the path.
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue