From 81d38bf1400c8ef8271bd2504e5b285a67cb3fe0 Mon Sep 17 00:00:00 2001 From: "salt.wei" Date: Thu, 8 Dec 2022 15:27:24 +0800 Subject: [PATCH] ENH: show the setting tab retract_before_wipe This is useful and need to be tuned for some special 3-rd party filament. Signed-off-by: salt.wei Change-Id: I0527484d47c1bb9c89d5cc70bbaa34b5078b7e43 --- src/libslic3r/PrintConfig.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index 68313fcc9..03b5cf1d9 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -2087,7 +2087,7 @@ void PrintConfigDef::init_fff_params() def->label = L("Retract amount before wipe"); def->tooltip = L("The length of fast retraction before wipe, relative to retraction length"); def->sidetext = L("%"); - def->mode = comDevelop; + def->mode = comAdvanced; def->set_default_value(new ConfigOptionPercents { 100 }); def = this->add("retract_when_changing_layer", coBools); @@ -3055,8 +3055,6 @@ void PrintConfigDef::init_fff_params() if ((strcmp(opt_key, "retraction_length") == 0) || (strcmp(opt_key, "z_hop") == 0)) def->mode = comSimple; - else if (strcmp(opt_key, "retract_before_wipe") == 0) - def->mode = comDevelop; else def->mode = comAdvanced; switch (def->type) {