mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-13 03:49:00 +08:00
Merge pull request #3262 from hyperair/fix-autospeed-F0-moves
Don't use equality comparisons for floats
This commit is contained in:
commit
f2e8c6f3bd
@ -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) {
|
if (@mm3_per_mm) {
|
||||||
my $min_mm3_per_mm = min(@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
|
# In order to honor max_print_speed we need to find a target volumetric
|
||||||
|
Loading…
x
Reference in New Issue
Block a user