FIX: fix the error location of G2 cmd in GCode

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I51b728916570f94167af4c535b86a45b1df22c56
This commit is contained in:
qing.zhang authored and Lane.Wei committed 2022-08-26 09:25:59 +08:00
1 parent f745c5fea2
commit cc9463c017
1 file changed
+1 -1
+1 -1
View File
@@ -3685,7 +3685,7 @@ void GCodeProcessor::store_move_vertex(EMoveType type, EMovePathType path_type)
m_interpolation_points[i] =
Vec3f(m_interpolation_points[i].x() + m_x_offset,
m_interpolation_points[i].y() + m_y_offset,
m_interpolation_points[i].z()) +
m_processing_start_custom_gcode ? m_first_layer_height : m_interpolation_points[i].z()) +
m_extruder_offsets[m_extruder_id];
}