瀏覽代碼

🩹 Apply 100% leveling correction below the bed

See #24002
Scott Lahteine 3 年之前
父節點
當前提交
577831bf1a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/src/module/planner.h

+ 1
- 1
Marlin/src/module/planner.h 查看文件

@@ -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…
取消
儲存