diff --git a/src/libslic3r/PrintConfig.cpp b/src/libslic3r/PrintConfig.cpp index 3b10ac959..bf6c341ee 100644 --- a/src/libslic3r/PrintConfig.cpp +++ b/src/libslic3r/PrintConfig.cpp @@ -218,7 +218,7 @@ CONFIG_OPTION_ENUM_DEFINE_STATIC_MAPS(BrimType) // using 0,1,2 to compatible with old files static const t_config_enum_values s_keys_map_TimelapseType = { - {"0", tlClose}, + {"0", tlNone}, {"1", tlSmooth}, {"2", tlTraditional} }; @@ -2055,11 +2055,11 @@ void PrintConfigDef::init_fff_params() def->enum_values.emplace_back("0"); def->enum_values.emplace_back("1"); def->enum_values.emplace_back("2"); - def->enum_labels.emplace_back(L("Close")); + def->enum_labels.emplace_back(L("None")); def->enum_labels.emplace_back(L("Smooth")); def->enum_labels.emplace_back(L("Traditional")); def->mode = comSimple; - def->set_default_value(new ConfigOptionEnum(tlClose)); + def->set_default_value(new ConfigOptionEnum(tlNone)); def = this->add("standby_temperature_delta", coInt); def->label = L("Temperature variation"); diff --git a/src/libslic3r/PrintConfig.hpp b/src/libslic3r/PrintConfig.hpp index a8c074df2..64dbc4a62 100644 --- a/src/libslic3r/PrintConfig.hpp +++ b/src/libslic3r/PrintConfig.hpp @@ -135,7 +135,7 @@ enum BrimType { }; enum TimelapseType { - tlClose, + tlNone, tlSmooth, tlTraditional }; diff --git a/src/slic3r/GUI/Tab.cpp b/src/slic3r/GUI/Tab.cpp index 11889b5de..f907a111a 100644 --- a/src/slic3r/GUI/Tab.cpp +++ b/src/slic3r/GUI/Tab.cpp @@ -1382,7 +1382,7 @@ void Tab::on_value_change(const std::string& opt_key, const boost::any& value) _L("Warning"), wxICON_WARNING | wxYES | wxNO); if (dlg.ShowModal() == wxID_YES) { DynamicPrintConfig new_conf = *m_config; - new_conf.set_key_value("timelapse_type", new ConfigOptionEnum(TimelapseType::tlClose)); + new_conf.set_key_value("timelapse_type", new ConfigOptionEnum(TimelapseType::tlNone)); m_config_manipulation.apply(m_config, &new_conf); wxGetApp().plater()->update(); } @@ -1409,7 +1409,7 @@ void Tab::on_value_change(const std::string& opt_key, const boost::any& value) } else { DynamicPrintConfig new_conf = *m_config; - new_conf.set_key_value("timelapse_type", new ConfigOptionEnum(TimelapseType::tlClose)); + new_conf.set_key_value("timelapse_type", new ConfigOptionEnum(TimelapseType::tlNone)); m_config_manipulation.apply(m_config, &new_conf); } } else {