mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-05-15 04:38:08 +08:00
Fixed regression when cooling is enabled
This commit is contained in:
parent
caa32ab282
commit
0226039dfb
@ -185,7 +185,7 @@ sub extrude_path {
|
||||
if ($Slic3r::cooling) {
|
||||
my $path_time = unscale($path_length) / $self->speeds->{$self->last_speed} * 60;
|
||||
if ($self->layer->id == 0) {
|
||||
$path_time = $Slic3r:: =~ /^(\d+(?:\.\d+)?)%$/
|
||||
$path_time = $Slic3r::first_layer_speed =~ /^(\d+(?:\.\d+)?)%$/
|
||||
? $path_time / ($1/100)
|
||||
: unscale($path_length) / $Slic3r::first_layer_speed * 60;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user