mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-01 05:51:58 +08:00
Use end_gcode, not start_code for determining to append bed cool command.
This commit is contained in:
parent
44dc572bf7
commit
bc145c5c73
@ -309,7 +309,7 @@ sub export {
|
|||||||
$self->_print_off_temperature(0)
|
$self->_print_off_temperature(0)
|
||||||
if $include_end_extruder_temp;
|
if $include_end_extruder_temp;
|
||||||
# set bed temperature
|
# set bed temperature
|
||||||
if ($self->config->has_heatbed && $self->config->start_gcode !~ /M(?:190|140)/i) {
|
if (($self->config->has_heatbed) && $self->config->end_gcode !~ /M(?:190|140)/i) {
|
||||||
printf $fh $gcodegen->writer->set_bed_temperature(0, 0);
|
printf $fh $gcodegen->writer->set_bed_temperature(0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user