1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-18 09:14:27 +00:00

Removing warnings here and there

This commit is contained in:
Alessandro Ranellucci
2012-05-20 17:21:31 +02:00
parent 2ae2c6a311
commit 67a076b360
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -536,9 +536,9 @@ sub validate {
# -j, --threads
die "Invalid value for --threads\n"
if defined $Slic3r::threads && $Slic3r::threads < 1;
if $Slic3r::threads < 1;
die "Your perl wasn't built with multithread support\n"
if defined $Slic3r::threads && $Slic3r::threads > 1 && !$Slic3r::have_threads;
if $Slic3r::threads > 1 && !$Slic3r::have_threads;
# --layer-height
die "Invalid value for --layer-height\n"