Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2017-10-27 19:52:35 +0300
committerbubnikv <bubnikv@gmail.com>2017-10-27 19:52:35 +0300
commit2455aee97cf595563ef7d61c8abe39ad31e5514e (patch)
tree4a15aebe5603e6fb6b6a63c9743de924daaae96b /slic3r.pl
parent3bc79e80d5d0618633d1ce556f561774acc59588 (diff)
Further reduction of Perl Config.pm methods.
Diffstat (limited to 'slic3r.pl')
-rwxr-xr-xslic3r.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/slic3r.pl b/slic3r.pl
index 76def3d28..9864c0714 100755
--- a/slic3r.pl
+++ b/slic3r.pl
@@ -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) {