Ensure fade factor is recalculated if fade height changes

This commit is contained in:
Scott Lahteine
2017-10-13 11:07:09 -05:00
parent ca1e47375c
commit 32c607ffe2
2 changed files with 8 additions and 1 deletions

View File

@ -139,6 +139,7 @@ void set_bed_leveling_enabled(const bool enable/*=true*/) {
planner.z_fade_height = zfh;
planner.inverse_z_fade_height = RECIPROCAL(zfh);
planner.force_fade_recalc();
if (level_active) {
#if ENABLED(AUTO_BED_LEVELING_UBL)