mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 15:37:30 -06:00
ENH:support displaying correct K values
Change-Id: I9ae4df08da82cb8b5b8c16ce39d6ca221e478472
This commit is contained in:
parent
fa650fe83b
commit
d8767b2cfe
1 changed files with 2 additions and 4 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue