diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2014-04-05 12:18:00 +0400 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2014-04-05 12:18:00 +0400 |
commit | d2a619496029fa38479c53a2d56c07d835d2fde9 (patch) | |
tree | f560eface731a56aea744f95591e7cac329f5038 /slic3r.pl | |
parent | 6f3844c1ba87610a29356e91081811c35d815ddc (diff) |
Fix the 'extruder' behavior in CLI and test that Print::Simple accepts an incomplete DynamicConfig object
Diffstat (limited to 'slic3r.pl')
-rwxr-xr-x | slic3r.pl | 5 |
1 files changed, 4 insertions, 1 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}) { |