ENH: remove old typo

Delete some useless and wrong code

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: If103e5ced2c930340e6291a63e2226ecf577f19e
This commit is contained in:
salt.wei 2022-09-15 16:38:19 +08:00 committed by Lane.Wei
parent 9edc90704a
commit 3e0f26c296

View file

@ -3442,8 +3442,6 @@ void PrintConfigDef::handle_legacy(t_config_option_key &opt_key, std::string &va
//But now these key-value must be absolute value.
//Reset to default value by erasing these key to avoid parsing error.
opt_key = "";
} else if (opt_key == "filament_type" && value == "PA-CF") {
value == "PA";
} else if (opt_key == "inherits_cummulative") {
opt_key = "inherits_group";
} else if (opt_key == "compatible_printers_condition_cummulative") {