diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index 08f0a6aff..50e4f2db7 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -4862,6 +4862,7 @@ std::string FullPrintConfig::validate() out_of_range = fopt->get_abs_value(1) < optdef->min || fopt->get_abs_value(1) > optdef->max; break; } + case coPercents: case coFloats: for (double v : static_cast*>(opt)->values) if (v < optdef->min || v > optdef->max) { @@ -4869,13 +4870,6 @@ std::string FullPrintConfig::validate() break; } break; - case coPercents: - for (double v : static_cast*>(opt)->values) - if (v*0.01 < optdef->min || v * 0.01 > optdef->max) { - out_of_range = true; - break; - } - break; case coInt: { auto *iopt = static_cast(opt);