mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-09 07:56:24 -06:00
FIX: modify the cali mode name
Change-Id: Ic234ac3ac776e40fadcf4d3a65c511ceb3946666 (cherry picked from commit 91fee384ddf055a6689160c64fdbdcc5caf91325)
This commit is contained in:
parent
04bfe7e405
commit
e9f3ddb61b
4 changed files with 9 additions and 8 deletions
|
@ -92,7 +92,7 @@ CalibMode CalibUtils::get_calib_mode_by_name(const std::string &name)
|
|||
return CalibMode::Calib_None;
|
||||
}
|
||||
|
||||
void CalibUtils::calib_PA(const X1CCalibInfos &calib_infos, std::string &error_message, bool is_manual)
|
||||
void CalibUtils::calib_PA(const X1CCalibInfos &calib_infos, std::string &error_message, int mode)
|
||||
{
|
||||
DeviceManager *dev = Slic3r::GUI::wxGetApp().getDeviceManager();
|
||||
if (!dev)
|
||||
|
@ -103,7 +103,7 @@ void CalibUtils::calib_PA(const X1CCalibInfos &calib_infos, std::string &error_m
|
|||
return;
|
||||
|
||||
if (calib_infos.calib_datas.size() > 0)
|
||||
obj_->command_start_pa_calibration(calib_infos, is_manual);
|
||||
obj_->command_start_pa_calibration(calib_infos, mode);
|
||||
}
|
||||
|
||||
void CalibUtils::emit_get_PA_calib_results(float nozzle_diameter)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue