ENH: param multiple extruder indicator icon

Change-Id: I9e382dc72deaa0b682b1474c9b4094c31e550ad8
Jira: STUDIO-8872, STUDIO-9213
(cherry picked from commit dba496e1cc9cb293f63f950dd02f94e27b72fda1)
This commit is contained in:
chunmao.guo
2024-12-17 14:16:54 +08:00
committed by Noisyfox
parent 25c0cf2943
commit 8f2ff7447e
3 changed files with 17 additions and 5 deletions

View File

@@ -5135,6 +5135,7 @@ void TabPrinter::build_unregular_pages(bool from_initial_build/* = false*/)
existed_page = i;
break;
}
m_rebuild_kinematics_page = false;
if (existed_page < n_before_extruders && (is_marlin_flavor || from_initial_build)) {
auto page = build_kinematics_page();
@@ -7724,6 +7725,7 @@ void Tab::switch_excluder(int extruder_id)
if (opt.second.second >= 0) {
const_cast<int &>(opt.second.second) = index;
page->m_opt_id_map.insert({opt.second.first + "#" + std::to_string(index), opt.first});
group->draw_multi_extruder = !is_extruder && variant_ctrl->IsThisEnabled();
}
}
}