mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-05 23:05:10 +08:00
Accept --threads 1 on non-threaded perls too
This commit is contained in:
parent
12c6e39837
commit
159ca3f65e
@ -538,7 +538,7 @@ sub validate {
|
|||||||
die "Invalid value for --threads\n"
|
die "Invalid value for --threads\n"
|
||||||
if defined $Slic3r::threads && $Slic3r::threads < 1;
|
if defined $Slic3r::threads && $Slic3r::threads < 1;
|
||||||
die "Your perl wasn't built with multithread support\n"
|
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
|
# --layer-height
|
||||||
die "Invalid value for --layer-height\n"
|
die "Invalid value for --layer-height\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user