Further reduction of Perl Config.pm methods.
This commit is contained in:
parent
3bc79e80d5
commit
2455aee97c
28 changed files with 118 additions and 136 deletions
|
@ -33,7 +33,7 @@ my %opt = ();
|
|||
my $model = Slic3r::Model->read_from_file($ARGV[0]);
|
||||
|
||||
# load config
|
||||
my $config = Slic3r::Config->new_from_defaults;
|
||||
my $config = Slic3r::Config::new_from_defaults;
|
||||
if ($opt{load}) {
|
||||
$config->apply(Slic3r::Config->load($opt{load}));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue