FIX:delete no use code

jira: STUDIO-11059
Change-Id: Ief3e45f4e6cc079c60161b9b9a55b2152013b70e
This commit is contained in:
zhou.xu 2025-03-22 16:35:35 +08:00 committed by lane.wei
parent cdd72cd549
commit ab26fb71a5
2 changed files with 2 additions and 5 deletions

View File

@ -1148,11 +1148,11 @@ int MachineObject::ams_filament_mapping(
return 0; return 0;
} }
for (auto it = result.begin(); it != result.end(); it++) { /* for (auto it = result.begin(); it != result.end(); it++) {//This code has never been effective before 2025.03.18
if (it->distance >= 6000) { if (it->distance >= 6000) {
it->tray_id = -1; it->tray_id = -1;
} }
} }*/
return 0; return 0;
} }

View File

@ -2353,9 +2353,6 @@ void SyncAmsInfoDialog::update_user_printer()
} }
} }
} }
MachineObject *obj = dev->get_selected_machine();
BOOST_LOG_TRIVIAL(info) << __FUNCTION__ << "for send task, current printer id = " << obj->dev_id << std::endl;
} }
void SyncAmsInfoDialog::update_printer_combobox(wxCommandEvent &event) void SyncAmsInfoDialog::update_printer_combobox(wxCommandEvent &event)