One more fix for --complete-objects working on single-object plates

This commit is contained in:
Alessandro Ranellucci 2013-06-19 18:01:24 +02:00
parent 5843f5df6c
commit fcd4de00e5

View File

@ -197,7 +197,7 @@ sub validate {
# ignore the tallest *copy* (this is why we repeat height for all of them): # 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 # it will be printed as last one so its height doesn't matter
pop @object_height; 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"; die "Some objects are too tall and cannot be printed without extruder collisions.\n";
} }
} }