From fcd4de00e574ed4d0f80b4392039728a209438fb Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Wed, 19 Jun 2013 18:01:24 +0200 Subject: [PATCH] One more fix for --complete-objects working on single-object plates --- lib/Slic3r/Print.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/Print.pm b/lib/Slic3r/Print.pm index 0fd3ddc52..d5d903746 100644 --- a/lib/Slic3r/Print.pm +++ b/lib/Slic3r/Print.pm @@ -197,7 +197,7 @@ sub validate { # ignore the tallest *copy* (this is why we repeat height for all of them): # it will be printed as last one so its height doesn't matter pop @object_height; - if (max(@object_height) > scale $Slic3r::Config->extruder_clearance_height) { + if (@object_height && max(@object_height) > scale $Slic3r::Config->extruder_clearance_height) { die "Some objects are too tall and cannot be printed without extruder collisions.\n"; } }