Accept --threads 1 on non-threaded perls too
This commit is contained in:
parent
12c6e39837
commit
159ca3f65e
1 changed files with 1 additions and 1 deletions
|
@ -538,7 +538,7 @@ sub validate {
|
|||
die "Invalid value for --threads\n"
|
||||
if defined $Slic3r::threads && $Slic3r::threads < 1;
|
||||
die "Your perl wasn't built with multithread support\n"
|
||||
if defined $Slic3r::threads && !$Slic3r::have_threads;
|
||||
if defined $Slic3r::threads && $Slic3r::threads > 1 && !$Slic3r::have_threads;
|
||||
|
||||
# --layer-height
|
||||
die "Invalid value for --layer-height\n"
|
||||
|
|
Loading…
Reference in a new issue