mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-24 23:27:46 +08:00
Import all valid files when dragging and dropping a set of files on the application
This commit is contained in:
parent
4b040b8569
commit
4870656877
@ -4933,7 +4933,7 @@ bool Plater::load_files(const wxArrayString& filenames)
|
|||||||
else if (std::regex_match(path.string(), pattern_gcode_drop))
|
else if (std::regex_match(path.string(), pattern_gcode_drop))
|
||||||
start_new_gcodeviewer(&filename);
|
start_new_gcodeviewer(&filename);
|
||||||
else
|
else
|
||||||
return false;
|
continue;
|
||||||
}
|
}
|
||||||
if (paths.empty())
|
if (paths.empty())
|
||||||
// Likely all paths processed were gcodes, for which a G-code viewer instance has hopefully been started.
|
// Likely all paths processed were gcodes, for which a G-code viewer instance has hopefully been started.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user