mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 06:57:36 -06:00
FIX: add log for cali
Jira: XXXX Change-Id: Ifce2d57d2694c5b39fec93529e6efffa036b8e68 (cherry picked from commit e9ffe4de41096b01f6918eafec5b365360b9cff0)
This commit is contained in:
parent
2870ed90c4
commit
5010994d88
3 changed files with 24 additions and 2 deletions
|
@ -1057,7 +1057,7 @@ void CalibUtils::send_to_print(const CalibInfo &calib_info, std::string &error_m
|
|||
print_job->task_ams_mapping_info = "";
|
||||
print_job->task_use_ams = select_ams == "[254]" ? false : true;
|
||||
|
||||
CalibMode cali_mode = calib_info.params.mode;
|
||||
CalibMode cali_mode = calib_info.params.mode;
|
||||
print_job->m_project_name = get_calib_mode_name(cali_mode, flow_ratio_mode);
|
||||
print_job->set_calibration_task(true);
|
||||
|
||||
|
@ -1074,6 +1074,9 @@ void CalibUtils::send_to_print(const CalibInfo &calib_info, std::string &error_m
|
|||
j["print"]["start"] = calib_info.params.start;
|
||||
j["print"]["end"] = calib_info.params.end;
|
||||
j["print"]["step"] = calib_info.params.step;
|
||||
j["print"]["print_numbers"] = calib_info.params.print_numbers;
|
||||
j["print"]["cali_mode"] = int(cali_mode);
|
||||
j["print"]["project_name"] = print_job->m_project_name;
|
||||
BOOST_LOG_TRIVIAL(trace) << "send_cali_job: " << j.dump();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue