diff --git a/src/slic3r/GUI/AMSMaterialsSetting.cpp b/src/slic3r/GUI/AMSMaterialsSetting.cpp index 73d9ce18a9..6d1fb66656 100644 --- a/src/slic3r/GUI/AMSMaterialsSetting.cpp +++ b/src/slic3r/GUI/AMSMaterialsSetting.cpp @@ -1155,15 +1155,9 @@ void AMSMaterialsSetting::on_select_filament(wxCommandEvent &evt) m_pa_profile_items.clear(); m_comboBox_cali_result->SetValue(wxEmptyString); - int extruder_id = obj->get_extruder_id_by_ams_id(std::to_string(ams_id)); + // TODO: Orca hack + int extruder_id = 0; NozzleVolumeType nozzle_volume_type = NozzleVolumeType::nvtNormal; - if (obj->m_extder_data.extders[extruder_id].current_nozzle_flow_type == NozzleFlowType::NONE_FLOWTYPE) { - MessageDialog dlg(nullptr, _L("There are unset nozzle types. Please set the nozzle types of all extruders before synchronizing."), _L("Warning"), wxICON_WARNING | wxOK); - dlg.ShowModal(); - } - else { - nozzle_volume_type = NozzleVolumeType(obj->m_extder_data.extders[extruder_id].current_nozzle_flow_type - 1); - } if (obj->cali_version >= 0) { // add default item PACalibResult default_item;