mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 22:24:01 -06:00
ENH:allow printing of all files in the SD card
Change-Id: I72097ddc1fa1020de2133753f14c0715322ea3cd
This commit is contained in:
parent
d8767b2cfe
commit
9d65199a2b
9 changed files with 51 additions and 25 deletions
|
@ -510,8 +510,10 @@ void MediaFilePanel::doAction(size_t index, int action)
|
|||
_L("Error"), wxOK).ShowModal();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
auto &file = fs->GetFile(index);
|
||||
int gcode_file_count = Slic3r::GUI::wxGetApp().plater()->update_print_required_data(config, model, plate_data_list, from_u8(file.name).ToStdString());
|
||||
int gcode_file_count = Slic3r::GUI::wxGetApp().plater()->update_print_required_data(config, model, plate_data_list, from_u8(file.name).ToStdString(), file.path);
|
||||
|
||||
if (gcode_file_count > 0) {
|
||||
wxPostEvent(Slic3r::GUI::wxGetApp().plater(), SimpleEvent(EVT_PRINT_FROM_SDCARD_VIEW));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue