ENH: wipe_distance should not to be 0 or negative value

As title, fix github issue #220

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: If63c839da1341ac2e16bbfa287c4e32564284d59
This commit is contained in:
salt.wei 2022-09-07 16:26:45 +08:00 committed by Lane.Wei
parent e6f0c5abec
commit 4e1caa428d
4 changed files with 9 additions and 8 deletions

View file

@ -2497,6 +2497,7 @@ void PrintConfigDef::init_fff_params()
def->label = L("Wipe Distance");
def->tooltip = L("Discribe how long the nozzle will move along the last path when retracting");
def->sidetext = L("mm");
def->min = 0;
def->mode = comAdvanced;
def->set_default_value(new ConfigOptionFloats { 2. });