FIX: if has ams then disable multi-color external assist

Jira: [STUDIO-13222]
Change-Id: Ife9bf7ad0fa0d4688a4052dd0f90734dab95a623
(cherry picked from commit c030cc2ca31eb19e063597dbabf9fc320e153eec)
This commit is contained in:
hemai
2025-07-07 11:37:02 +08:00
committed by Noisyfox
parent fad8043f5e
commit 89123e519a

View File

@@ -2258,6 +2258,8 @@ void SelectMachineDialog::update_option_opts(MachineObject *obj)
}
bool SelectMachineDialog::is_enable_external_change_assist(std::vector<FilamentInfo>& ams_mapping_result) {
if (m_print_job && m_print_job->task_use_ams) return false;
std::map<std::string, int> v_ams_map;
v_ams_map[VIRTUAL_AMS_MAIN_ID_STR] = 0;
v_ams_map[VIRTUAL_AMS_DEPUTY_ID_STR] = 0;