mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-15 10:47:50 -06:00
FIX: the n value is not correct when set pa cali value
If it is manual, set it to 0, if it is automatic, use the calibrated value Change-Id: I7c8737366e0ec0c6c2c17a7ad905cfb34e236fd8 (cherry picked from commit b235b0c8b79b1baf6a393ccfea236e1e650dcb7d) (cherry picked from commit 298f7b6b9349fdf7fe7f9092e3012188d27b9bf2)
This commit is contained in:
parent
4eb1edea13
commit
cefd9876fc
6 changed files with 12 additions and 10 deletions
|
@ -593,7 +593,7 @@ void PressureAdvanceWizard::on_cali_save()
|
|||
return;
|
||||
}
|
||||
|
||||
CalibUtils::set_PA_calib_result(new_pa_cali_results);
|
||||
CalibUtils::set_PA_calib_result(new_pa_cali_results, true);
|
||||
}
|
||||
else if (m_cali_method == CalibrationMethod::CALI_METHOD_MANUAL) {
|
||||
PACalibResult new_pa_cali_result;
|
||||
|
@ -601,7 +601,7 @@ void PressureAdvanceWizard::on_cali_save()
|
|||
if (!save_page->get_manual_result(new_pa_cali_result)) {
|
||||
return;
|
||||
}
|
||||
CalibUtils::set_PA_calib_result({ new_pa_cali_result });
|
||||
CalibUtils::set_PA_calib_result({ new_pa_cali_result }, false);
|
||||
}
|
||||
|
||||
MessageDialog msg_dlg(nullptr, _L("Flow Dynamics Calibration result has been saved to the printer"), wxEmptyString, wxOK);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue