mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: fix the error display of default k value
jira: STUDIO-12546 Change-Id: Ibb674de256c306123c1ab7761945eda18704fe0e (cherry picked from commit d3174f35d81654a36a85194b94c2cec1ee263ded)
This commit is contained in:
@@ -1242,9 +1242,7 @@ void AMSMaterialsSetting::on_select_filament(wxCommandEvent &evt)
|
||||
PACalibResult default_item;
|
||||
default_item.cali_idx = -1;
|
||||
default_item.filament_id = ams_filament_id;
|
||||
std::vector<std::string> machine_list = {"N1", "N2S", "C11", "C12", "C13", "BL-P001", "BL-P002"};
|
||||
auto iter = std::find(machine_list.begin(), machine_list.end(), obj->printer_type);
|
||||
if (iter == machine_list.end()) {
|
||||
if (obj->is_support_auto_flow_calibration) {
|
||||
default_item.k_value = -1;
|
||||
default_item.n_coef = -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user