From 9b42c6b44b172dffcf7bd72abe795d39b1f95de5 Mon Sep 17 00:00:00 2001 From: lrpirlet Date: Sun, 3 Jul 2016 21:43:42 +0200 Subject: [PATCH] apply correction when swtiching from MBL to physical in G28 X --- Marlin/Marlin_main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 59f526f060..d4c353e2fe 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -2770,6 +2770,7 @@ inline void gcode_G28() { current_position[Y_AXIS] - home_offset[Y_AXIS]); } mbl.set_active(false); + current_position[Z_AXIS] = pre_home_z; } #endif