Bugfix: when an external config was selected in any section, exported settings didn't reflect other sections properly
This commit is contained in:
parent
2f2bc8210a
commit
4fcecf5ef6
3 changed files with 21 additions and 12 deletions
lib/Slic3r/GUI
|
@ -210,7 +210,8 @@ sub get_preset_config {
|
|||
}
|
||||
|
||||
# apply preset values on top of defaults
|
||||
$config->apply(Slic3r::Config->load($preset->{file}));
|
||||
my $external_config = Slic3r::Config->load($preset->{file});
|
||||
$config->set($_, $external_config->get($_)) for @{$self->{options}};
|
||||
}
|
||||
|
||||
return $config;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue