mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 05:25:58 +08:00
#209 coPercent uses 100 as mult and not 1 like for coPercentAndFloat
see coPercents, it's obvious.
This commit is contained in:
parent
387f88dfb0
commit
0d8d386c72
@ -4310,6 +4310,11 @@ std::string FullPrintConfig::validate()
|
||||
break;
|
||||
}
|
||||
case coPercent:
|
||||
{
|
||||
auto* fopt = static_cast<const ConfigOptionPercent*>(opt);
|
||||
out_of_range = fopt->get_abs_value(100) < optdef->min || fopt->get_abs_value(100) > optdef->max;
|
||||
break;
|
||||
}
|
||||
case coFloatOrPercent:
|
||||
{
|
||||
auto *fopt = static_cast<const ConfigOptionPercent*>(opt);
|
||||
|
Loading…
x
Reference in New Issue
Block a user