From 849727cf16918f12d8c5b0dfda4d2aae96c497ad Mon Sep 17 00:00:00 2001 From: supermerill Date: Sat, 28 Mar 2020 21:13:04 +0100 Subject: [PATCH] #183 set min to 0 for offset for support. It was not enforced before, but now that it's possible to select plane from "plane", it shouldn't be necessary anymore. --- src/libslic3r/PrintConfig.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index 5a838a071..4393c4c52 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -2706,7 +2706,7 @@ void PrintConfigDef::init_fff_params() "for the first object layer. Can be a % of the extruding width used for the interface layers."); def->sidetext = L("mm"); def->enum_labels.push_back((boost::format("0.2 (%1%)") % L("detachable")).str()); -// def->min = 0; + def->min = 0; def->enum_values.push_back("0"); def->enum_values.push_back("0.2"); def->enum_labels.push_back(L("0 (soluble)")); @@ -2722,6 +2722,7 @@ void PrintConfigDef::init_fff_params() def->tooltip = L("The vertical distance between object and support material interface" "(when the support is printed on top of the object). Can be a % of the extruding width used for the interface layers."); def->sidetext = L("mm"); + def->min = 0; def->mode = comAdvanced; def->set_default_value(new ConfigOptionFloatOrPercent(0.2,false));