FIX: [STUDIO-3571] not skip auxiliary for send gcode

Change-Id: I2dd1e36c571261c93ac899db5bbd3ad38fc40bc9
This commit is contained in:
chunmao.guo 2023-07-05 15:09:15 +08:00 committed by Lane.Wei
parent d48101887e
commit a4b3a5c000
3 changed files with 4 additions and 2 deletions

View file

@ -7453,7 +7453,8 @@ bool _BBS_3MF_Exporter::_add_auxiliary_dir_to_archive(mz_zip_archive &archive, c
data._3mf_thumbnail = dst_in_3mf;
} else if (m_thumbnail_small.compare(1, m_thumbnail_small.length() - 1, dst_in_3mf) == 0) {
data._3mf_printer_thumbnail_small = dst_in_3mf;
} else if (m_thumbnail_middle.compare(1, m_thumbnail_small.length() - 1, dst_in_3mf) == 0) {
if (m_thumbnail_middle == m_thumbnail_small) data._3mf_printer_thumbnail_middle = dst_in_3mf;
} else if (m_thumbnail_middle.compare(1, m_thumbnail_middle.length() - 1, dst_in_3mf) == 0) {
data._3mf_printer_thumbnail_middle = dst_in_3mf;
}
result &= _add_file_to_archive(archive, dst_in_3mf, src_file);