mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-15 17:09:43 -07:00
FIX: the default value is not correct
and the pa profile not display in AMS setting dialog after switch nozzle diameter jira: 8620 Change-Id: If40bfe41ae13f5199f09baae3af09757498f1edf (cherry picked from commit f3064e223df468eb9901e65c8f0abab2dae91f15)
This commit is contained in:
parent
d77ef4c8a3
commit
693cf5f2f4
1 changed files with 4 additions and 0 deletions
|
|
@ -1127,6 +1127,10 @@ void AMSMaterialsSetting::on_select_filament(wxCommandEvent &evt)
|
|||
m_input_k_val->GetTextCtrl()->SetValue(float_to_string_with_precision(m_pa_profile_items[cali_select_idx].k_value));
|
||||
m_input_n_val->GetTextCtrl()->SetValue(float_to_string_with_precision(m_pa_profile_items[cali_select_idx].n_coef));
|
||||
}
|
||||
else {
|
||||
m_input_k_val->GetTextCtrl()->SetValue(float_to_string_with_precision(m_pa_profile_items[0].k_value));
|
||||
m_input_n_val->GetTextCtrl()->SetValue(float_to_string_with_precision(m_pa_profile_items[0].n_coef));
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (!ams_filament_id.empty()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue