mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
FIX: not transfer filament param copy variants
Change-Id: I2fea8a692506ce8c1def6ec4700c788fa31cf7be Jira: none (cherry picked from commit ad049d1a90b9bbd7b8c9d4cb9d32f013d6ad3de9)
This commit is contained in:
@@ -456,7 +456,7 @@ void ConfigBase::apply_only(const ConfigBase &other, const t_config_option_keys
|
||||
auto my_opt2 = dynamic_cast<ConfigOptionVectorBase*>(this->option(opt_key2));
|
||||
auto other_opt = other.option(opt_key2);
|
||||
if (my_opt2 == nullptr && other_opt)
|
||||
my_opt2 = dynamic_cast<ConfigOptionVectorBase*>(other_opt->clone());
|
||||
my_opt2 = dynamic_cast<ConfigOptionVectorBase *>(this->option(opt_key2, true));
|
||||
if (my_opt2) {
|
||||
int index = std::atoi(opt_key.c_str() + n + 1);
|
||||
if (other_opt)
|
||||
|
||||
Reference in New Issue
Block a user