Import all valid files when dragging and dropping a set of files on the application

This commit is contained in:
enricoturri1966 2020-12-04 09:15:55 +01:00
parent 4b040b8569
commit 4870656877

View file

@ -4933,7 +4933,7 @@ bool Plater::load_files(const wxArrayString& filenames)
else if (std::regex_match(path.string(), pattern_gcode_drop))
start_new_gcodeviewer(&filename);
else
return false;
continue;
}
if (paths.empty())
// Likely all paths processed were gcodes, for which a G-code viewer instance has hopefully been started.