From d62ca6646c60c92ffea2168a663e9ed77dc21442 Mon Sep 17 00:00:00 2001 From: enricoturri1966 Date: Tue, 5 Sep 2023 14:21:37 +0200 Subject: [PATCH] Added .bgcode and .bgc extensions to function is_gcode_file() --- src/libslic3r/utils.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/libslic3r/utils.cpp b/src/libslic3r/utils.cpp index f61ef3f525..09fa98ca1f 100644 --- a/src/libslic3r/utils.cpp +++ b/src/libslic3r/utils.cpp @@ -798,8 +798,9 @@ 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"); + 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, ".bgcode") || boost::iends_with(path, ".bgc"); } bool is_img_file(const std::string &path)