소스 검색

Fix UBL regression (#24622)

Fix regression from #24188
Bob Kuhn 1 년 전
부모
커밋
a4297ff492
No account linked to committer's email address
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 3
    3
      Marlin/src/feature/bedlevel/bedlevel.cpp
  2. 1
    1
      Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp

+ 3
- 3
Marlin/src/feature/bedlevel/bedlevel.cpp 파일 보기

75
     planner.synchronize();
75
     planner.synchronize();
76
 
76
 
77
     // Get the corrected leveled / unleveled position
77
     // Get the corrected leveled / unleveled position
78
-    planner.apply_modifiers(current_position);    // Physical position with all modifiers
79
-    planner.leveling_active ^= true;              // Toggle leveling between apply and unapply
80
-    planner.unapply_modifiers(current_position);  // Logical position with modifiers removed
78
+    planner.apply_modifiers(current_position, true);    // Physical position with all modifiers
79
+    planner.leveling_active ^= true;                    // Toggle leveling between apply and unapply
80
+    planner.unapply_modifiers(current_position, true);  // Logical position with modifiers removed
81
 
81
 
82
     sync_plan_position();
82
     sync_plan_position();
83
     _report_leveling();
83
     _report_leveling();

+ 1
- 1
Marlin/src/feature/bedlevel/ubl/ubl_G29.cpp 파일 보기

407
           z_values[x][x2] += 9.999f; // We want the altered line several mesh points thick
407
           z_values[x][x2] += 9.999f; // We want the altered line several mesh points thick
408
           #if ENABLED(EXTENSIBLE_UI)
408
           #if ENABLED(EXTENSIBLE_UI)
409
             ExtUI::onMeshUpdate(x, x, z_values[x][x]);
409
             ExtUI::onMeshUpdate(x, x, z_values[x][x]);
410
-            ExtUI::onMeshUpdate(x, (x2), z_values[x][x2]);
410
+            ExtUI::onMeshUpdate(x, x2, z_values[x][x2]);
411
           #endif
411
           #endif
412
         }
412
         }
413
         break;
413
         break;

Loading…
취소
저장