Skip to content

Commit

Permalink
remove assert
Browse files Browse the repository at this point in the history
  • Loading branch information
henrivdr committed Aug 13, 2024
1 parent 9dd0e4f commit a706227
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libslic3r/Emboss.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -334,8 +334,8 @@ bool Emboss::divide_segments_for_close_point(ExPolygons &expolygons, double dist
const Points &poly_pts = poly.points;
const Point &line_a = poly_pts[id.point_index];
const Point &line_b = (!ids.is_last_point(id)) ? poly_pts[id.point_index + 1] : poly_pts.front();
assert(line_a == lines[index].a.cast<int>());
assert(line_b == lines[index].b.cast<int>());
// assert(line_a == lines[index].a.cast<int>());
// assert(line_b == lines[index].b.cast<int>());
if (p == line_a || p == line_b) continue;

divs.emplace_back(p, index);
Expand Down

0 comments on commit a706227

Please sign in to comment.