From b829419c5429e40c605e8eb78e99d9097545d42a Mon Sep 17 00:00:00 2001 From: "salt.wei" Date: Tue, 18 Oct 2022 19:59:26 +0800 Subject: [PATCH] ENH: fix one typo As title Signed-off-by: salt.wei Change-Id: Ief2cf0129f06ebf3bd1f9eb947ad17ad595cee79 --- src/libslic3r/Polyline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/Polyline.cpp b/src/libslic3r/Polyline.cpp index 78b064e24..df2874236 100644 --- a/src/libslic3r/Polyline.cpp +++ b/src/libslic3r/Polyline.cpp @@ -422,7 +422,7 @@ bool Polyline::split_fitting_result_before_index(const size_t index, Point& new_ if (data.back().is_arc_move() && data.back().end_point_index > index) { if (!data.back().arc_data.clip_end(this->points[index])) //BBS: failed to clip arc, then return to be linear move - data.back().path_type == EMovePathType::Linear_move; + data.back().path_type = EMovePathType::Linear_move; else //BBS: succeed to clip arc, then update and return the new end point new_endpoint = data.back().arc_data.end_point;