mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-31 00:52:51 +00:00
New --cooling option and checkbox to enable/disable fan and cooling control
This commit is contained in:
@@ -158,8 +158,7 @@ sub extrude_path {
|
||||
}
|
||||
}
|
||||
|
||||
# TODO: optimize: avoid calculation if cooling is disabled
|
||||
if (1) {
|
||||
if ($Slic3r::cooling) {
|
||||
$self->elapsed_time($self->elapsed_time + (unscale($path_length) / $self->speeds->{$self->last_speed} * 60));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user