mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-31 05:42:01 +08:00
#485 klipper: print temperature header if no start_gcode
This commit is contained in:
parent
a473624522
commit
8c756ffb40
@ -1921,7 +1921,7 @@ void GCode::_print_first_layer_extruder_temperatures(FILE *file, Print &print, c
|
||||
if (temp_by_gcode >= 0 && temp_by_gcode < 1000)
|
||||
temp = temp_by_gcode;
|
||||
m_writer.set_temperature(temp, wait, first_printing_extruder_id);
|
||||
} else if(this->config().gcode_flavor != gcfKlipper){
|
||||
} else if(this->config().gcode_flavor != gcfKlipper || print.config().start_gcode.value.empty()){
|
||||
// Custom G-code does not set the extruder temperature. Do it now.
|
||||
if (print.config().single_extruder_multi_material.value) {
|
||||
// Set temperature of the first printing extruder only.
|
||||
|
Loading…
x
Reference in New Issue
Block a user