Sfoglia il codice sorgente

Merge pull request #4199 from lrpirlet/G28_X_drills_a_hole_in_printed_part

apply correction when swtiching from MBL to physical in G28 X
Scott Lahteine 8 anni fa
parent
commit
5a81c132a2
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1
    0
      Marlin/Marlin_main.cpp

+ 1
- 0
Marlin/Marlin_main.cpp Vedi File

@@ -2770,6 +2770,7 @@ inline void gcode_G28() {
2770 2770
                                 current_position[Y_AXIS] - home_offset[Y_AXIS]);
2771 2771
       }
2772 2772
       mbl.set_active(false);
2773
+      current_position[Z_AXIS] = pre_home_z;
2773 2774
     }
2774 2775
   #endif
2775 2776
 

Loading…
Annulla
Salva