mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-01 07:01:58 +08:00
Added .bgcode and .bgc extensions to function is_gcode_file()
This commit is contained in:
parent
c4c2c5dcf3
commit
d62ca6646c
@ -799,7 +799,8 @@ bool is_idx_file(const boost::filesystem::directory_entry &dir_entry)
|
||||
bool is_gcode_file(const std::string &path)
|
||||
{
|
||||
return boost::iends_with(path, ".gcode") || boost::iends_with(path, ".gco") ||
|
||||
boost::iends_with(path, ".g") || boost::iends_with(path, ".ngc");
|
||||
boost::iends_with(path, ".g") || boost::iends_with(path, ".ngc") ||
|
||||
boost::iends_with(path, ".bgcode") || boost::iends_with(path, ".bgc");
|
||||
}
|
||||
|
||||
bool is_img_file(const std::string &path)
|
||||
|
Loading…
x
Reference in New Issue
Block a user