mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-22 00:01:09 -06:00
Fix the 'extruder' behavior in CLI and test that Print::Simple accepts an incomplete DynamicConfig object
This commit is contained in:
parent
6f3844c1ba
commit
d2a6194960
2 changed files with 14 additions and 3 deletions
|
@ -72,7 +72,10 @@ if ($opt{load}) {
|
|||
|
||||
# merge configuration
|
||||
my $config = Slic3r::Config->new_from_defaults;
|
||||
$config->apply($_) for @external_configs, $cli_config;
|
||||
foreach my $c (@external_configs, $cli_config) {
|
||||
$c->normalize; # expand shortcuts before applying, otherwise destination values would be already filled with defaults
|
||||
$config->apply($c);
|
||||
}
|
||||
|
||||
# save configuration
|
||||
if ($opt{save}) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue