Multithreaded thumbnail generation

This commit is contained in:
Alessandro Ranellucci 2012-04-30 20:59:14 +02:00
parent e41b8c7435
commit 2e897ecf0d
2 changed files with 33 additions and 9 deletions

View file

@ -19,6 +19,7 @@ my %cli_options = ();
'help' => sub { usage() },
'debug' => \$Slic3r::debug,
'gui' => \$opt{gui},
'o|output=s' => \$opt{output},
'save=s' => \$opt{save},
@ -71,6 +72,7 @@ if (!@ARGV && !$opt{save} && eval "require Slic3r::GUI; 1") {
Slic3r::GUI->new->MainLoop;
exit;
}
die $@ if $@ && $opt{gui};
if (@ARGV) {
while (my $input_file = shift @ARGV) {