ENH:add new prohibited materials

Change-Id: I621aaf9ceabe11dbedd4e77376f10650be453abf
This commit is contained in:
tao wang 2023-03-28 16:32:05 +08:00 committed by Lane.Wei
parent 6facd65530
commit 27f4c282f2
4 changed files with 63 additions and 6 deletions

View file

@ -473,6 +473,9 @@ void AMSMaterialsSetting::on_select_ok(wxCommandEvent &event)
if (ams_filament_id.empty() || nozzle_temp_min.empty() || nozzle_temp_max.empty() || m_filament_type.empty()) {
BOOST_LOG_TRIVIAL(trace) << "Invalid Setting id";
MessageDialog msg_dlg(nullptr, _L("You need to select the material type and color firet."), wxEmptyString, wxICON_WARNING | wxOK);
msg_dlg.ShowModal();
return;
} else {
if (obj) {
if (obj->is_function_supported(PrinterFunction::FUNC_EXTRUSION_CALI)) {