mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 11:02:08 +00:00
ENH:support displaying correct K values
Change-Id: I9ae4df08da82cb8b5b8c16ce39d6ca221e478472
This commit is contained in:
@@ -969,8 +969,6 @@ void AMSMaterialsSetting::on_select_filament(wxCommandEvent &evt)
|
|||||||
int cali_select_idx;
|
int cali_select_idx;
|
||||||
|
|
||||||
if ( !this->obj || m_filament_selection < 0) {
|
if ( !this->obj || m_filament_selection < 0) {
|
||||||
m_input_k_val->GetTextCtrl()->SetValue("0.00");
|
|
||||||
m_input_n_val->GetTextCtrl()->SetValue("0.00");
|
|
||||||
m_input_k_val->Enable(false);
|
m_input_k_val->Enable(false);
|
||||||
m_input_n_val->Enable(false);
|
m_input_n_val->Enable(false);
|
||||||
m_button_confirm->Disable();
|
m_button_confirm->Disable();
|
||||||
@@ -1039,11 +1037,11 @@ void AMSMaterialsSetting::on_select_filament(wxCommandEvent &evt)
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (!ams_filament_id.empty()) {
|
if (!ams_filament_id.empty()) {
|
||||||
m_input_k_val->GetTextCtrl()->SetValue("0.00");
|
//m_input_k_val->GetTextCtrl()->SetValue("0.00");
|
||||||
m_input_k_val->Enable(true);
|
m_input_k_val->Enable(true);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
m_input_k_val->GetTextCtrl()->SetValue("0.00");
|
//m_input_k_val->GetTextCtrl()->SetValue("0.00");
|
||||||
m_input_k_val->Disable();
|
m_input_k_val->Disable();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user