소스 검색

Fix: gcode_T using non-existent Z offset

As noted by @snowzach in #3461
Scott Lahteine 9 년 전
부모
커밋
edf376ce0d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      Marlin/Marlin_main.cpp

+ 2
- 2
Marlin/Marlin_main.cpp 파일 보기

@@ -6178,10 +6178,10 @@ inline void gcode_T(uint8_t tmp_extruder) {
6178 6178
             // Offset extruder, make sure to apply the bed level rotation matrix
6179 6179
             vector_3 tmp_offset_vec = vector_3(extruder_offset[X_AXIS][tmp_extruder],
6180 6180
                                                extruder_offset[Y_AXIS][tmp_extruder],
6181
-                                               extruder_offset[Z_AXIS][tmp_extruder]),
6181
+                                               0),
6182 6182
                      act_offset_vec = vector_3(extruder_offset[X_AXIS][active_extruder],
6183 6183
                                                extruder_offset[Y_AXIS][active_extruder],
6184
-                                               extruder_offset[Z_AXIS][active_extruder]),
6184
+                                               0),
6185 6185
                      offset_vec = tmp_offset_vec - act_offset_vec;
6186 6186
             offset_vec.apply_rotation(plan_bed_level_matrix.transpose(plan_bed_level_matrix));
6187 6187
             current_position[X_AXIS] += offset_vec.x;

Loading…
취소
저장