Fix of the previous commit: Slic3r::Config::new_from_defaults_keys

has to be provided with a reference to array of strings.
This commit is contained in:
bubnikv 2017-10-27 22:49:59 +02:00
parent 21633bc0ba
commit 857b78ddca
5 changed files with 43 additions and 97 deletions

View file

@ -312,7 +312,7 @@ sub selection_changed {
$config = $self->{model_object}->config;
}
# get default values
my $default_config = Slic3r::Config::new_from_defaults_keys(@opt_keys);
my $default_config = Slic3r::Config::new_from_defaults_keys(\@opt_keys);
# append default extruder
push @opt_keys, 'extruder';