FIX: Mixed mappings are not allowed

jira: none
Change-Id: Ia29aa3ea5b953983e6b4e71b11fdb53a518bd0cf
This commit is contained in:
zhimin.zeng 2024-10-23 16:56:59 +08:00 committed by lane.wei
parent 3145dd48ea
commit 159ad9fe0d
1 changed files with 3 additions and 0 deletions

View File

@ -2153,6 +2153,9 @@ bool SelectMachineDialog::get_ams_mapping_result(std::string &mapping_array_str,
}
bool SelectMachineDialog::can_hybrid_mapping(ExtderData data) {
// Mixed mappings are not allowed
return false;
if (data.total_extder_count <= 1 || data.extders.size() <= 1 || !wxGetApp().preset_bundle)
return false;