🍻 Fix Z increase on toolchange without UBL (#22942)
This commit is contained in:
parent
c1684a1dbe
commit
b2b8407a75
@ -57,6 +57,7 @@ bool leveling_is_valid() {
|
|||||||
* Enable: Current position = "unleveled" physical position
|
* Enable: Current position = "unleveled" physical position
|
||||||
*/
|
*/
|
||||||
void set_bed_leveling_enabled(const bool enable/*=true*/) {
|
void set_bed_leveling_enabled(const bool enable/*=true*/) {
|
||||||
|
DEBUG_SECTION(log_sble, "set_bed_leveling_enabled", DEBUGGING(LEVELING));
|
||||||
|
|
||||||
const bool can_change = TERN1(AUTO_BED_LEVELING_BILINEAR, !enable || leveling_is_valid());
|
const bool can_change = TERN1(AUTO_BED_LEVELING_BILINEAR, !enable || leveling_is_valid());
|
||||||
|
|
||||||
|
@ -1157,8 +1157,8 @@ void tool_change(const uint8_t new_tool, bool no_move/*=false*/) {
|
|||||||
const uint8_t old_tool = active_extruder;
|
const uint8_t old_tool = active_extruder;
|
||||||
const bool can_move_away = !no_move && !idex_full_control;
|
const bool can_move_away = !no_move && !idex_full_control;
|
||||||
|
|
||||||
#if HAS_LEVELING
|
#if ENABLED(AUTO_BED_LEVELING_UBL)
|
||||||
// Set current position to the physical position
|
// Workaround for UBL mesh boundary, possibly?
|
||||||
TEMPORARY_BED_LEVELING_STATE(false);
|
TEMPORARY_BED_LEVELING_STATE(false);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user