Merge pull request #5413 from MagoKimbra/rc_fix_mesh

Fix Mesh without Fade Height
This commit is contained in:
Scott Lahteine 2016-12-07 03:16:02 -06:00 committed by GitHub
commit c8a95ec514

View File

@ -563,7 +563,11 @@ void Planner::check_axes_activity() {
#if ENABLED(MESH_BED_LEVELING)
if (mbl.active())
lz += mbl.get_z(RAW_X_POSITION(lx), RAW_Y_POSITION(ly), z_fade_factor);
lz += mbl.get_z(RAW_X_POSITION(lx), RAW_Y_POSITION(ly)
#if ENABLED(ENABLE_LEVELING_FADE_HEIGHT)
, z_fade_factor
#endif
);
#elif ABL_PLANAR