Merge of Fix proposal for crash on rectilinear #5399
This commit is contained in:
parent
6fe0b09a04
commit
c7aee35552
1 changed files with 1 additions and 1 deletions
|
@ -1237,7 +1237,7 @@ static void pinch_contours_insert_phony_outer_intersections(std::vector<Segmente
|
|||
for (SegmentIntersection &ip : segs[i_vline - 1].intersections)
|
||||
if (ip.has_right_horizontal())
|
||||
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.
|
||||
for (SegmentIntersection &ip : segs[i_vline + 1].intersections)
|
||||
if (ip.has_left_horizontal())
|
||||
|
|
Loading…
Reference in a new issue