FIX: Remove unnecessary asserts
When multiple materials are selected for automatic calibration, and then manual calibration is performed, asset will be reported. Jira: 5499 Change-Id: I3e58e50b2d00d51e94661121ed83c73ea712a6b6
This commit is contained in:
parent
0909132bd4
commit
f10b585131
|
@ -589,7 +589,6 @@ bool CaliPASaveManualPanel::get_result(PACalibResult& out_result) {
|
|||
bool CaliPASaveManualPanel::Show(bool show) {
|
||||
if (show) {
|
||||
if (m_obj) {
|
||||
assert(m_obj->selected_cali_preset.size() <= 1);
|
||||
if (!m_obj->selected_cali_preset.empty()) {
|
||||
wxString default_name = get_default_name(m_obj->selected_cali_preset[0].name, CalibMode::Calib_PA_Line);
|
||||
set_default_name(default_name);
|
||||
|
|
Loading…
Reference in New Issue