Browse Source

Merge pull request #5413 from MagoKimbra/rc_fix_mesh

Fix Mesh without Fade Height
Scott Lahteine 8 years ago
parent
commit
c8a95ec514
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      Marlin/planner.cpp

+ 5
- 1
Marlin/planner.cpp View File

563
     #if ENABLED(MESH_BED_LEVELING)
563
     #if ENABLED(MESH_BED_LEVELING)
564
 
564
 
565
       if (mbl.active())
565
       if (mbl.active())
566
-        lz += mbl.get_z(RAW_X_POSITION(lx), RAW_Y_POSITION(ly), z_fade_factor);
566
+        lz += mbl.get_z(RAW_X_POSITION(lx), RAW_Y_POSITION(ly)
567
+          #if ENABLED(ENABLE_LEVELING_FADE_HEIGHT)
568
+            , z_fade_factor
569
+          #endif
570
+          );
567
 
571
 
568
     #elif ABL_PLANAR
572
     #elif ABL_PLANAR
569
 
573
 

Loading…
Cancel
Save