bed_mesh: Disable z-adjustment fade by default.

Due to various potential issues with fading out z-adjustment, it is better to disable by default and allow users to opt-in.

Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Arksine 2018-11-26 14:45:30 -05:00 committed by KevinOConnor
parent 824e55d75a
commit 35f41b7402
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ class BedMesh:
self.toolhead = None self.toolhead = None
self.horizontal_move_z = config.getfloat('horizontal_move_z', 5.) self.horizontal_move_z = config.getfloat('horizontal_move_z', 5.)
self.fade_start = config.getfloat('fade_start', 1.) self.fade_start = config.getfloat('fade_start', 1.)
self.fade_end = config.getfloat('fade_end', 10.) self.fade_end = config.getfloat('fade_end', 0.)
self.fade_dist = self.fade_end - self.fade_start self.fade_dist = self.fade_end - self.fade_start
if self.fade_dist <= 0.: if self.fade_dist <= 0.:
self.fade_start = self.fade_end = self.FADE_DISABLE self.fade_start = self.fade_end = self.FADE_DISABLE