diff --git a/src/libslic3r/Measure.cpp b/src/libslic3r/Measure.cpp index 3d96c351c..6368f30f5 100644 --- a/src/libslic3r/Measure.cpp +++ b/src/libslic3r/Measure.cpp @@ -227,7 +227,7 @@ void MeasuringImpl::update_planes() // In case of broken meshes, this loop might be infinite. Break // out in case it is clearly going bad. - if (last_border.size() > 3*facets.size()) + if (last_border.size() > 3*facets.size()+1) goto PLANE_FAILURE; } while (he != he_start);