mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
FIX: add filament id to filament_ids when send cali job
jira: none Change-Id: I6e3e8c38b67fe62442fa369f072fd1743f35f38f (cherry picked from commit ec9193ffb06e12411b4e521c12d9e16f121f54d1)
This commit is contained in:
@@ -760,6 +760,8 @@ void PressureAdvanceWizard::on_cali_start()
|
||||
Preset *preset = selected_filaments.begin()->second;
|
||||
Preset * temp_filament_preset = new Preset(preset->type, preset->name + "_temp");
|
||||
temp_filament_preset->config = preset->config;
|
||||
if (preset->type == Preset::TYPE_FILAMENT)
|
||||
temp_filament_preset->filament_id = preset->filament_id;
|
||||
|
||||
calib_info.bed_type = plate_type;
|
||||
calib_info.process_bar = preset_page->get_sending_progress_bar();
|
||||
@@ -1233,6 +1235,8 @@ void FlowRateWizard::on_cali_start(CaliPresetStage stage, float cali_value, Flow
|
||||
Preset* preset = selected_filaments.begin()->second;
|
||||
temp_filament_preset = new Preset(preset->type, preset->name + "_temp");
|
||||
temp_filament_preset->config = preset->config;
|
||||
if (preset->type == Preset::TYPE_FILAMENT)
|
||||
temp_filament_preset->filament_id = preset->filament_id;
|
||||
|
||||
calib_info.bed_type = plate_type;
|
||||
calib_info.printer_prest = preset_page->get_printer_preset(curr_obj, preset_page->get_nozzle_diameter(calib_info.extruder_id));
|
||||
|
||||
Reference in New Issue
Block a user