ENH: fix one typo

As title

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: Ief2cf0129f06ebf3bd1f9eb947ad17ad595cee79
This commit is contained in:
salt.wei 2022-10-18 19:59:26 +08:00 committed by Lane.Wei
parent 97095e4319
commit b829419c54
1 changed files with 1 additions and 1 deletions

View File

@ -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;