#766 change legacy monotonous to monotonic also on supports & solid infill

This commit is contained in:
supermerill 2020-12-08 13:04:57 +01:00
parent 9e1463fba1
commit fd584f1994

View File

@ -5074,7 +5074,7 @@ void PrintConfigDef::handle_legacy(t_config_option_key &opt_key, std::string &va
}; };
// In PrusaSlicer 2.3.0-alpha0 the "monotonic" infill was introduced, which was later renamed to "monotonous". // In PrusaSlicer 2.3.0-alpha0 the "monotonic" infill was introduced, which was later renamed to "monotonous".
if (value == "monotonous" && (opt_key == "top_fill_pattern" || opt_key == "bottom_fill_pattern" || opt_key == "fill_pattern")) if (value == "monotonous" && (opt_key == "top_fill_pattern" || opt_key == "bottom_fill_pattern" || opt_key == "fill_pattern" || opt_key == "solid_fill_pattern" || opt_key == "support_material_interface_pattern"))
value = "monotonic"; value = "monotonic";
if (ignore.find(opt_key) != ignore.end()) { if (ignore.find(opt_key) != ignore.end()) {