mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
Tech ENABLE_DRAG_AND_DROP_FIX set as default
This commit is contained in:
parent
349ce7fd50
commit
77be228b75
4 changed files with 0 additions and 200 deletions
|
@ -1933,15 +1933,11 @@ void GUI_App::MacOpenFiles(const wxArrayString &fileNames)
|
|||
start_new_slicer(non_gcode_files, true);
|
||||
} else {
|
||||
if (! files.empty()) {
|
||||
#if ENABLE_DRAG_AND_DROP_FIX
|
||||
wxArrayString input_files;
|
||||
for (size_t i = 0; i < non_gcode_files.size(); ++i) {
|
||||
input_files.push_back(non_gcode_files[i]);
|
||||
}
|
||||
this->plater()->load_files(input_files);
|
||||
#else
|
||||
this->plater()->load_files(files, true, true);
|
||||
#endif
|
||||
}
|
||||
for (const wxString &filename : gcode_files)
|
||||
start_new_gcodeviewer(&filename);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue