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

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2014-01-02 20:24:23 +0400
committerAlessandro Ranellucci <aar@cpan.org>2014-01-02 20:24:23 +0400
commit5bf0942f4559d5458bc3a50b1da76cd1bd0e7a16 (patch)
tree625c04b9516f69278aa2244c487a0a9b227ef7b6 /slic3r.pl
parente2f1040a76e9ad3e7d08e9588dc527895c28e017 (diff)
Satisfy test suite and CLI
Diffstat (limited to 'slic3r.pl')
-rwxr-xr-xslic3r.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/slic3r.pl b/slic3r.pl
index 0be1219d0..beea80373 100755
--- a/slic3r.pl
+++ b/slic3r.pl
@@ -153,12 +153,12 @@ if (@ARGV) { # slicing from command line
}
my $print = Slic3r::Print->new(
- config => $config,
status_cb => sub {
my ($percent, $message) = @_;
printf "=> %s\n", $message;
},
);
+ $print->apply_config($config);
foreach my $model_object (@{$model->objects}) {
$print->auto_assign_extruders($model_object);
$print->add_model_object($model_object);