1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Accept --threads 1 on non-threaded perls too

This commit is contained in:
Alessandro Ranellucci
2012-05-19 23:18:29 +02:00
parent 12c6e39837
commit 159ca3f65e
+1 -1
View File
@@ -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"