Browse Source

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 years ago
parent
commit
5a81c132a2
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      Marlin/Marlin_main.cpp

+ 1
- 0
Marlin/Marlin_main.cpp View 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…
Cancel
Save