mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Merge of Fix proposal for crash on rectilinear #5399
This commit is contained in:
@@ -1237,7 +1237,7 @@ static void pinch_contours_insert_phony_outer_intersections(std::vector<Segmente
|
|||||||
for (SegmentIntersection &ip : segs[i_vline - 1].intersections)
|
for (SegmentIntersection &ip : segs[i_vline - 1].intersections)
|
||||||
if (ip.has_right_horizontal())
|
if (ip.has_right_horizontal())
|
||||||
ip.next_on_contour = map[ip.next_on_contour];
|
ip.next_on_contour = map[ip.next_on_contour];
|
||||||
if (i_vline < segs.size()) {
|
if (i_vline + 1 < segs.size()) {
|
||||||
// Reindex references on next intersection line.
|
// Reindex references on next intersection line.
|
||||||
for (SegmentIntersection &ip : segs[i_vline + 1].intersections)
|
for (SegmentIntersection &ip : segs[i_vline + 1].intersections)
|
||||||
if (ip.has_left_horizontal())
|
if (ip.has_left_horizontal())
|
||||||
|
|||||||
Reference in New Issue
Block a user