Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsupermerill <merill@free.fr>2022-02-16 03:19:09 +0300
committersupermerill <merill@free.fr>2022-02-17 02:00:09 +0300
commit5c446ce5ef7c714bff64f11930e7e2ed2adf6ef4 (patch)
tree8972f727907fee85aca5b46b496b4d9313f63d1e /src/libslic3r/PrintConfig.cpp
parenta310992767f252009753788308bc7cde09151e68 (diff)
biqu thumbnails
Diffstat (limited to 'src/libslic3r/PrintConfig.cpp')
-rw-r--r--src/libslic3r/PrintConfig.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp
index d52c00c20..57b43ec4f 100644
--- a/src/libslic3r/PrintConfig.cpp
+++ b/src/libslic3r/PrintConfig.cpp
@@ -286,7 +286,8 @@ CONFIG_OPTION_ENUM_DEFINE_STATIC_MAPS(DraftShield)
static const t_config_enum_values s_keys_map_GCodeThumbnailsFormat = {
{ "PNG", int(GCodeThumbnailsFormat::PNG) },
{ "JPG", int(GCodeThumbnailsFormat::JPG) },
- { "QOI", int(GCodeThumbnailsFormat::QOI) }
+ { "QOI", int(GCodeThumbnailsFormat::QOI) },
+ { "BIQU", int(GCodeThumbnailsFormat::BIQU) }
};
CONFIG_OPTION_ENUM_DEFINE_STATIC_MAPS(GCodeThumbnailsFormat)
@@ -405,6 +406,11 @@ void PrintConfigDef::init_common_params()
def->enum_values.push_back("PNG");
def->enum_values.push_back("JPG");
def->enum_values.push_back("QOI");
+ def->enum_values.push_back("BIQU");
+ def->enum_labels.push_back("PNG");
+ def->enum_labels.push_back("JPG");
+ def->enum_labels.push_back("QOI");
+ def->enum_labels.push_back("Biqu");
def->set_default_value(new ConfigOptionEnum<GCodeThumbnailsFormat>(GCodeThumbnailsFormat::PNG));
def = this->add("thumbnails_with_support", coBool);