FIX: the nums of filament_type in plater config is incorrect

2. Improve the judgment and display of the extruder printing area
jira: none

Change-Id: Ie9e1991904bfbc5bffceedb7810b1d1fa598933b
(cherry picked from commit ca5ec101f9a679d8ea4360d96a2db606923b8429)
This commit is contained in:
zhimin.zeng
2025-02-24 19:53:17 +08:00
committed by Noisyfox
parent c8bf1cedcc
commit 30bbb93680
3 changed files with 18 additions and 4 deletions

View File

@@ -14944,7 +14944,11 @@ void Plater::on_config_change(const DynamicPrintConfig &config)
continue;
}
}
if (opt_key == "material_colour" || opt_key == "filament_type") {
if (opt_key == "filament_type") {
update_filament_colors_in_full_config();
continue;
}
if (opt_key == "material_colour") {
update_scheduled = true; // update should be scheduled (for update 3DScene)
}