mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
FIX: 1. the status of ams item is not correct
2. fix the status cali button of stat page is sometimes incorrect 3. when the nozzle volume type is not the same as printer, prompt user to sync 4. fix the incorrect nozzle volume type of cali preset page jira: STUDIO-8856 STUDIO-8832 Change-Id: I83569f41533681b3d2f68d7b86be68955bd957f1 (cherry picked from commit 9dffa8d00281e06b24c29d818064e1c55418333d)
This commit is contained in:
@@ -918,11 +918,14 @@ void AMSLib::render_generic_text(wxDC &dc)
|
||||
if (m_info.material_name.empty()) {
|
||||
show_k_value = false;
|
||||
}
|
||||
else if (m_obj && m_obj->is_multi_extruders() && m_info.cali_idx == -1) {
|
||||
show_k_value = false;
|
||||
}
|
||||
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);
|
||||
if (m_obj && m_obj->is_multi_extruders())
|
||||
show_k_value = false;
|
||||
else
|
||||
get_default_k_n_value(m_info.filament_id, m_info.k, m_info.n);
|
||||
}
|
||||
else if (abs(m_info.k) < EPSILON) {
|
||||
show_k_value = false;
|
||||
}
|
||||
|
||||
auto tmp_lib_colour = m_info.material_colour;
|
||||
|
||||
Reference in New Issue
Block a user