diff options
author | bubnikv <bubnikv@gmail.com> | 2017-10-27 19:52:35 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2017-10-27 19:52:35 +0300 |
commit | 2455aee97cf595563ef7d61c8abe39ad31e5514e (patch) | |
tree | 4a15aebe5603e6fb6b6a63c9743de924daaae96b /slic3r.pl | |
parent | 3bc79e80d5d0618633d1ce556f561774acc59588 (diff) |
Further reduction of Perl Config.pm methods.
Diffstat (limited to 'slic3r.pl')
-rwxr-xr-x | slic3r.pl | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -92,12 +92,12 @@ if ($opt{save}) { if (@{$cli_config->get_keys} > 0) { $cli_config->save($opt{save}); } else { - Slic3r::Config->new_from_defaults->save($opt{save}); + Slic3r::Config::new_from_defaults->save($opt{save}); } } # apply command line config on top of default config -my $config = Slic3r::Config->new_from_defaults; +my $config = Slic3r::Config::new_from_defaults; $config->apply($cli_config); # locate or create data directory @@ -242,7 +242,7 @@ if (@ARGV) { # slicing from command line sub usage { my ($exit_code) = @_; - my $config = Slic3r::Config->new_from_defaults->as_hash; + my $config = Slic3r::Config::new_from_defaults->as_hash; my $j = ''; if ($Slic3r::have_threads) { |