FIX: Calibration adaptation encryption
jira: none Change-Id: Ie42da224ca02261b0c32262be895c215878b7921
This commit is contained in:
parent
c23f1233db
commit
06df4c86ce
|
@ -4832,6 +4832,7 @@ int MachineObject::parse_json(std::string payload, bool key_field_only)
|
|||
auto err_code = jj["err_code"].get<int>();
|
||||
print_error = err_code;
|
||||
}
|
||||
is_succeed = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -4900,6 +4901,7 @@ int MachineObject::parse_json(std::string payload, bool key_field_only)
|
|||
if (jj.contains("err_code")) {
|
||||
auto err_code = jj["err_code"].get<int>();
|
||||
print_error = err_code;
|
||||
is_succeed = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3061,7 +3061,6 @@ void StatusPanel::update_ams(MachineObject *obj)
|
|||
if (m_filament_setting_dlg) { m_filament_setting_dlg->obj = obj; }
|
||||
|
||||
if (obj && (obj->last_cali_version != obj->cali_version)) {
|
||||
last_cali_version = obj->cali_version;
|
||||
PACalibExtruderInfo cali_info;
|
||||
cali_info.nozzle_diameter = obj->m_extder_data.extders[0].current_nozzle_diameter;
|
||||
cali_info.use_extruder_id = false;
|
||||
|
|
Loading…
Reference in New Issue