Disable automatic mesh adjustment when Z offset is altered.

This commit is contained in:
Knutwurst
2023-06-06 21:44:08 +02:00
parent 056dd71494
commit fb7a29ce8e

View File

@@ -1584,6 +1584,7 @@ void AnycubicTouchscreenClass::RenderCurrentFolder(uint16_t selectedNumber) {
SENDLINE_PGM(""); SENDLINE_PGM("");
} }
else { else {
/*
GRID_LOOP(x, y) { GRID_LOOP(x, y) {
const xy_uint8_t pos { x, y }; const xy_uint8_t pos { x, y };
const float currval = getMeshPoint(pos); const float currval = getMeshPoint(pos);
@@ -1592,6 +1593,7 @@ void AnycubicTouchscreenClass::RenderCurrentFolder(uint16_t selectedNumber) {
SERIAL_ECHOLNPGM("Change mesh point X", x," Y",y ," from ", currval, " to ", getMeshPoint(pos) ); SERIAL_ECHOLNPGM("Change mesh point X", x," Y",y ," from ", currval, " to ", getMeshPoint(pos) );
#endif #endif
} }
*/
const float currZOffset = getZOffset_mm(); const float currZOffset = getZOffset_mm();
#if ENABLED(ANYCUBIC_TFT_DEBUG) #if ENABLED(ANYCUBIC_TFT_DEBUG)
SERIAL_ECHOLNPGM("Change probe offset from ", currZOffset, " to ", currZOffset + Zshift); SERIAL_ECHOLNPGM("Change probe offset from ", currZOffset, " to ", currZOffset + Zshift);