ENH: CLI: keep the params of old version

jira: STUDIO-10695
Change-Id: I4b0a768bc4fc6c856c9c92fa4a05007a3097df35
(cherry picked from commit a44da293ad3a1fbc62e318c20b3ba7c187fc1d25)
This commit is contained in:
lane.wei
2025-03-07 07:59:59 +08:00
committed by Noisyfox
parent 581af2c433
commit 5e04588837
2 changed files with 88 additions and 4 deletions

View File

@@ -7127,7 +7127,11 @@ void PrintConfigDef::handle_legacy(t_config_option_key &opt_key, std::string &va
opt_key = "prime_tower_width";
} else if (opt_key == "wiping_volume") {
opt_key = "filament_prime_volume";
} else if (opt_key == "wipe_tower_brim_width") {
}
else if (opt_key == "prime_volume") {
opt_key = "filament_prime_volume";
}
else if (opt_key == "wipe_tower_brim_width") {
opt_key = "prime_tower_brim_width";
} else if (opt_key == "tool_change_gcode") {
opt_key = "change_filament_gcode";