mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-03-09 13:05:00 -06: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:
parent
d58a93b501
commit
ace6e614ad
3 changed files with 23 additions and 20 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue