FIX: switch to 0.2 from 0.4 nozzle, AMS item display 0.0

jira: STUDIO-7816
Change-Id: Ic5ab4a2004ebe10e3b3c0a0e3fba9386987dc2fb
This commit is contained in:
zhimin.zeng 2024-10-31 17:56:46 +08:00 committed by lane.wei
parent 8616784886
commit 3acfc87452
1 changed files with 1 additions and 1 deletions

View File

@ -1107,7 +1107,7 @@ void AMSLib::render_generic_text(wxDC &dc)
if (m_info.material_name.empty()) {
show_k_value = false;
}
else if (m_info.cali_idx == -1) {
else if (m_info.cali_idx == -1 || (m_obj && (CalibUtils::get_selected_calib_idx(m_obj->pa_calib_tab, m_info.cali_idx) == -1))) {
get_default_k_n_value(m_info.filament_id, m_info.k, m_info.n);
}