Merge branch 'master' of https://github.com/alexrj/Slic3r into release_candidate_1_3

This commit is contained in:
Vojtech Bubnik 2016-06-03 17:45:05 +02:00
commit 7649a1df41
22 changed files with 205 additions and 68 deletions

View file

@ -75,7 +75,8 @@ sub BUILD {
}
}
}
@mm3_per_mm = grep $_ != 0, @mm3_per_mm;
# filter out 0-width segments
@mm3_per_mm = grep $_ > 0.000001, @mm3_per_mm;
if (@mm3_per_mm) {
my $min_mm3_per_mm = min(@mm3_per_mm);
# In order to honor max_print_speed we need to find a target volumetric