FIX: the ams control display the value of last time
when the filament is not recognized Jira: 3831 Change-Id: I7f121e7ba8504a3a6de12227b3c7c032a452b62d
This commit is contained in:
parent
6ce7bc8c49
commit
fbd70b13a3
|
@ -83,7 +83,7 @@ bool AMSinfo::parse_ams_info(MachineObject *obj, Ams *ams, bool remain_flag, boo
|
||||||
wxColour(255, 255, 255);
|
wxColour(255, 255, 255);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (obj->get_printer_series() == PrinterSeries::SERIES_X1) {
|
if (obj->get_printer_series() == PrinterSeries::SERIES_X1 && it->second->is_tray_info_ready()) {
|
||||||
CalibUtils::get_pa_k_n_value_by_cali_idx(obj, it->second->cali_idx, info.k, info.n);
|
CalibUtils::get_pa_k_n_value_by_cali_idx(obj, it->second->cali_idx, info.k, info.n);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue