FIX:Parameter value has not changed, no recalculation
jira: STUDIO-8283 Change-Id: I3564ff0993de1c3b8e039fc0115b4ccd81b2a5a2
This commit is contained in:
parent
4db196b11f
commit
fecd3c3297
|
@ -91,7 +91,7 @@ StepMeshDialog::StepMeshDialog(wxWindow* parent, Slic3r::Step& file)
|
||||||
m_linear_last = value;
|
m_linear_last = value;
|
||||||
update_mesh_number_text();
|
update_mesh_number_text();
|
||||||
} else {
|
} else {
|
||||||
MessageDialog msg_dlg(nullptr, _L("Please input a valid value (0.001 < angle deflection < 0.1)"), wxEmptyString, wxICON_WARNING | wxOK);
|
MessageDialog msg_dlg(nullptr, _L("Please input a valid value (0.001 < linear deflection < 0.1)"), wxEmptyString, wxICON_WARNING | wxOK);
|
||||||
msg_dlg.ShowModal();
|
msg_dlg.ShowModal();
|
||||||
linear_input->GetTextCtrl()->SetValue(m_linear_last);
|
linear_input->GetTextCtrl()->SetValue(m_linear_last);
|
||||||
}
|
}
|
||||||
|
@ -281,6 +281,8 @@ void StepMeshDialog::update_mesh_number_text()
|
||||||
wxCommandEvent event(wxEVT_THREAD_DONE);
|
wxCommandEvent event(wxEVT_THREAD_DONE);
|
||||||
event.SetString(number_text);
|
event.SetString(number_text);
|
||||||
wxPostEvent(this, event);
|
wxPostEvent(this, event);
|
||||||
|
m_last_linear = get_linear_defletion();
|
||||||
|
m_last_angle = get_angle_defletion();
|
||||||
}
|
}
|
||||||
return number;
|
return number;
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue