From 38edd9375b14bdfba0acf8eb87e49620ace493a1 Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Wed, 7 Jun 2023 08:14:28 +0200 Subject: [PATCH] Revert "Disable automatic mesh adjustment when Z offset is altered." This reverts commit fb7a29ce8effd695dbf137e0cfae49112634712f. --- Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp index e37a7c84..1cd1ee5a 100755 --- a/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp +++ b/Marlin/src/lcd/extui/knutwurst/anycubic_touchscreen.cpp @@ -1584,7 +1584,6 @@ void AnycubicTouchscreenClass::RenderCurrentFolder(uint16_t selectedNumber) { SENDLINE_PGM(""); } else { - /* GRID_LOOP(x, y) { const xy_uint8_t pos { x, y }; const float currval = getMeshPoint(pos); @@ -1593,7 +1592,6 @@ void AnycubicTouchscreenClass::RenderCurrentFolder(uint16_t selectedNumber) { SERIAL_ECHOLNPGM("Change mesh point X", x," Y",y ," from ", currval, " to ", getMeshPoint(pos) ); #endif } - */ const float currZOffset = getZOffset_mm(); #if ENABLED(ANYCUBIC_TFT_DEBUG) SERIAL_ECHOLNPGM("Change probe offset from ", currZOffset, " to ", currZOffset + Zshift);