diff --git a/src/slic3r/GUI/DeviceManager.cpp b/src/slic3r/GUI/DeviceManager.cpp index 5a205a1468..0dcd28d2ef 100644 --- a/src/slic3r/GUI/DeviceManager.cpp +++ b/src/slic3r/GUI/DeviceManager.cpp @@ -1149,11 +1149,11 @@ int MachineObject::ams_filament_mapping( 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) { it->tray_id = -1; } - } + }*/ return 0; } diff --git a/src/slic3r/GUI/SyncAmsInfoDialog.cpp b/src/slic3r/GUI/SyncAmsInfoDialog.cpp index 0a489e7f9b..edbaf84ff3 100644 --- a/src/slic3r/GUI/SyncAmsInfoDialog.cpp +++ b/src/slic3r/GUI/SyncAmsInfoDialog.cpp @@ -2355,9 +2355,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)