parent
7d8d2e2c58
commit
e350acb360
@ -75,9 +75,9 @@ void set_bed_leveling_enabled(const bool enable/*=true*/) {
|
|||||||
planner.synchronize();
|
planner.synchronize();
|
||||||
|
|
||||||
// Get the corrected leveled / unleveled position
|
// Get the corrected leveled / unleveled position
|
||||||
planner.apply_modifiers(current_position); // Physical position with all modifiers
|
planner.apply_modifiers(current_position, true); // Physical position with all modifiers
|
||||||
planner.leveling_active ^= true; // Toggle leveling between apply and unapply
|
planner.leveling_active ^= true; // Toggle leveling between apply and unapply
|
||||||
planner.unapply_modifiers(current_position); // Logical position with modifiers removed
|
planner.unapply_modifiers(current_position, true); // Logical position with modifiers removed
|
||||||
|
|
||||||
sync_plan_position();
|
sync_plan_position();
|
||||||
_report_leveling();
|
_report_leveling();
|
||||||
|
@ -407,7 +407,7 @@ void unified_bed_leveling::G29() {
|
|||||||
z_values[x][x2] += 9.999f; // We want the altered line several mesh points thick
|
z_values[x][x2] += 9.999f; // We want the altered line several mesh points thick
|
||||||
#if ENABLED(EXTENSIBLE_UI)
|
#if ENABLED(EXTENSIBLE_UI)
|
||||||
ExtUI::onMeshUpdate(x, x, z_values[x][x]);
|
ExtUI::onMeshUpdate(x, x, z_values[x][x]);
|
||||||
ExtUI::onMeshUpdate(x, (x2), z_values[x][x2]);
|
ExtUI::onMeshUpdate(x, x2, z_values[x][x2]);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user