diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2012-04-30 22:59:14 +0400 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2012-04-30 22:59:14 +0400 |
commit | 2e897ecf0d2759f6474b32fe3b8d993979886f21 (patch) | |
tree | f90763e1cd602b32a0c0ddfbf13a6c3a5073841a /slic3r.pl | |
parent | e41b8c74356fdba18615c2f88546df4741964afe (diff) |
Multithreaded thumbnail generation
Diffstat (limited to 'slic3r.pl')
-rwxr-xr-x | slic3r.pl | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) { |