Added .bgcode and .bgc extensions to method Plater::load_files()

This commit is contained in:
enricoturri1966 2023-09-05 14:54:04 +02:00
parent 1a06dc0d05
commit 078af6d5da

View File

@ -6069,7 +6069,7 @@ void ProjectDropDialog::on_dpi_changed(const wxRect& suggested_rect)
bool Plater::load_files(const wxArrayString& filenames, bool delete_after_load/*=false*/)
{
const std::regex pattern_drop(".*[.](stl|obj|amf|3mf|prusa|step|stp|zip)", std::regex::icase);
const std::regex pattern_gcode_drop(".*[.](gcode|g)", std::regex::icase);
const std::regex pattern_gcode_drop(".*[.](gcode|g|bgcode|bgc)", std::regex::icase);
std::vector<fs::path> paths;