From 8c756ffb4001f12b15f9a262a5dd9bc3f2916256 Mon Sep 17 00:00:00 2001 From: supermerill Date: Sat, 19 Sep 2020 16:19:06 +0200 Subject: [PATCH] #485 klipper: print temperature header if no start_gcode --- src/libslic3r/GCode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libslic3r/GCode.cpp b/src/libslic3r/GCode.cpp index e377885ca..dba72d7c6 100644 --- a/src/libslic3r/GCode.cpp +++ b/src/libslic3r/GCode.cpp @@ -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.