mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: unable to send file to sd card if plate > 1
1. Should set plate index before send file jira:STUDIO-12431 Signed-off-by: xun.zhang <xun.zhang@bambulab.com> Change-Id: Id7828069a81f5671b0a6b90d7b0c9b703b10a9cc (cherry picked from commit fd1e17f818c5c8e38d207e1e829dc5c5749e6f65)
This commit is contained in:
@@ -836,8 +836,10 @@ void SendToPrinterDialog::on_ok(wxCommandEvent &event)
|
||||
// enter sending mode
|
||||
sending_mode();
|
||||
|
||||
if (wxGetApp().plater()->using_exported_file())
|
||||
result = 0;
|
||||
if (wxGetApp().plater()->using_exported_file()) {
|
||||
m_plater->set_print_job_plate_idx(m_print_plate_idx);
|
||||
result = 0;
|
||||
}
|
||||
else {
|
||||
result = m_plater->send_gcode(m_print_plate_idx, [this](int export_stage, int current, int total, bool &cancel) {
|
||||
if (this->m_is_canceled) return;
|
||||
|
||||
Reference in New Issue
Block a user