fix crash when loading and a perimeter_loop_seam was set in a previous version.

This commit is contained in:
remi durand 2021-06-26 13:16:46 +02:00
parent 37bd6e432d
commit 86705d38f1

View File

@ -5298,6 +5298,10 @@ void PrintConfigDef::handle_legacy(t_config_option_key &opt_key, std::string &va
value = "20%";
}else if ("near" == value || "nearest" == value )
value = "cost";
} else if (opt_key == "perimeter_loop_seam") {
if (value == "hidden") {
value = "nearest";
}
} else if (opt_key == "overhangs") {
opt_key = "overhangs_width_speed";
if (value == "1")