Skip to content

Commit 63b69d5

Browse files
committed
Simplify: Set previous-previous correctly after ditching previous.
part of CURA-7794
1 parent 0f782d0 commit 63b69d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils/polygon.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,7 @@ void PolygonRef::simplify(const coord_t smallest_line_segment_squared, const coo
411411
if(!new_path.empty())
412412
{
413413
new_path.pop_back();
414+
previous = previous_previous;
414415
}
415416
}
416417
}

0 commit comments

Comments
 (0)