connect solid rectilinear lines

supermerill/SuperSlicer#2141
This commit is contained in:
supermerill 2022-01-04 04:15:06 +01:00
parent f75093ec91
commit 65288d3b49

View File

@ -1239,7 +1239,7 @@ static void connect_segment_intersections_by_contours(
itsct.prev_on_contour_quality = SegmentIntersection::LinkQuality::TooLong; itsct.prev_on_contour_quality = SegmentIntersection::LinkQuality::TooLong;
if (itsct.next_on_contour_quality == SegmentIntersection::LinkQuality::Valid) if (itsct.next_on_contour_quality == SegmentIntersection::LinkQuality::Valid)
itsct.next_on_contour_quality = SegmentIntersection::LinkQuality::TooLong; itsct.next_on_contour_quality = SegmentIntersection::LinkQuality::TooLong;
} else if (link_max_length > 0) { } else if (link_max_length > 0 && false /*FIXME SuperSlicer::2141*/) {
// Measure length of the links. // Measure length of the links.
if (itsct.prev_on_contour_quality == SegmentIntersection::LinkQuality::Valid && if (itsct.prev_on_contour_quality == SegmentIntersection::LinkQuality::Valid &&
(same_prev ? (same_prev ?