diff --git a/src/libslic3r/Config.cpp b/src/libslic3r/Config.cpp index 017563256a..75935b2177 100644 --- a/src/libslic3r/Config.cpp +++ b/src/libslic3r/Config.cpp @@ -455,8 +455,12 @@ void ConfigBase::apply_only(const ConfigBase &other, const t_config_option_keys auto opt_key2 = opt_key.substr(0, n); auto my_opt2 = dynamic_cast(this->option(opt_key2)); auto other_opt = other.option(opt_key2); - if (my_opt2 == nullptr && other_opt) + if (my_opt2 == nullptr && other_opt) { my_opt2 = dynamic_cast(this->option(opt_key2, true)); + if (my_opt2->empty()) { + my_opt2->resize(1, other_opt); + } + } if (my_opt2) { int index = std::atoi(opt_key.c_str() + n + 1); if (other_opt)