Fix arrange with malformed contours

This commit is contained in:
tamasmeszaros 2020-12-03 14:16:13 +01:00
parent 624494eab6
commit 91b1d469eb
2 changed files with 7 additions and 6 deletions

View file

@ -1858,8 +1858,6 @@ arrangement::ArrangePolygon ModelInstance::get_arrange_polygon() const
assert(!p.points.empty());
// this may happen for malformed models, see:
// https://github.com/prusa3d/PrusaSlicer/issues/2209
// if (!p.points.empty()) {
// Polygons pp{p};
// pp = p.simplify(scaled<double>(SIMPLIFY_TOLERANCE_MM));