From 533b8625ef17c5d3de15522f4bcb3509f13d5c93 Mon Sep 17 00:00:00 2001 From: Heiko Liebscher Date: Fri, 17 Jan 2025 10:32:39 +0100 Subject: [PATCH] Customize --- src/libslic3r/PrintConfig.cpp | 2 +- src/libslic3r/PrintConfig.hpp | 2 +- src/slic3r/GUI/Tab.cpp | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index b420c5ae89..7a1e1dc1b4 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -362,7 +362,7 @@ CONFIG_OPTION_ENUM_DEFINE_STATIC_MAPS(BedType) // BBS static const t_config_enum_values s_keys_map_LayerSeq = { { "Auto", flsAuto }, - { "Customize", flsCutomize }, + { "Customize", flsCustomize }, }; CONFIG_OPTION_ENUM_DEFINE_STATIC_MAPS(LayerSeq) diff --git a/src/libslic3r/PrintConfig.hpp b/src/libslic3r/PrintConfig.hpp index 1f1650699a..0d68906cb3 100644 --- a/src/libslic3r/PrintConfig.hpp +++ b/src/libslic3r/PrintConfig.hpp @@ -266,7 +266,7 @@ enum BedType { // BBS enum LayerSeq { flsAuto, - flsCutomize + flsCustomize }; // BBS diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index 27a85e0276..6ef7e30b34 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -2638,14 +2638,14 @@ void TabPrintModel::update_model_config() } else { replace(m_all_keys.begin(), m_all_keys.end(), std::string("first_layer_print_sequence"), std::string("first_layer_sequence_choice")); - m_config->set_key_value("first_layer_sequence_choice", new ConfigOptionEnum(flsCutomize)); + m_config->set_key_value("first_layer_sequence_choice", new ConfigOptionEnum(flsCustomize)); } if (!plate_config.has("other_layers_print_sequence")) { m_config->set_key_value("other_layers_sequence_choice", new ConfigOptionEnum(flsAuto)); } else { replace(m_all_keys.begin(), m_all_keys.end(), std::string("other_layers_print_sequence"), std::string("other_layers_sequence_choice")); - m_config->set_key_value("other_layers_sequence_choice", new ConfigOptionEnum(flsCutomize)); + m_config->set_key_value("other_layers_sequence_choice", new ConfigOptionEnum(flsCustomize)); } notify_changed(plate_item.first); } @@ -2885,7 +2885,7 @@ void TabPrintPlate::on_value_change(const std::string& opt_key, const boost::any if (first_layer_seq_choice == LayerSeq::flsAuto) { plate->set_first_layer_print_sequence({}); } - else if (first_layer_seq_choice == LayerSeq::flsCutomize) { + else if (first_layer_seq_choice == LayerSeq::flsCustomize) { const DynamicPrintConfig& plate_config = plate_item.second->get(); if (!plate_config.has("first_layer_print_sequence")) { std::vector initial_sequence; @@ -2906,7 +2906,7 @@ void TabPrintPlate::on_value_change(const std::string& opt_key, const boost::any if (other_layer_seq_choice == LayerSeq::flsAuto) { plate->set_other_layers_print_sequence({}); } - else if (other_layer_seq_choice == LayerSeq::flsCutomize) { + else if (other_layer_seq_choice == LayerSeq::flsCustomize) { const DynamicPrintConfig& plate_config = plate_item.second->get(); if (!plate_config.has("other_layers_print_sequence")) { std::vector initial_sequence;