Browse Source

🩹 Apply 100% leveling correction below the bed

See #24002
Scott Lahteine 3 years ago
parent
commit
577831bf1a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/module/planner.h

+ 1
- 1
Marlin/src/module/planner.h View File

@@ -592,7 +592,7 @@ class Planner {
592 592
        */
593 593
       static float fade_scaling_factor_for_z(const_float_t rz) {
594 594
         static float z_fade_factor = 1;
595
-        if (!z_fade_height) return 1;
595
+        if (!z_fade_height || rz <= 0) return 1;
596 596
         if (rz >= z_fade_height) return 0;
597 597
         if (last_fade_z != rz) {
598 598
           last_fade_z = rz;

Loading…
Cancel
Save