by merging the work by @lordofhyphens done on https://github.com/alexrj/Slic3r/issues/3268
This commit is contained in:
bubnikv 2017-05-20 15:29:25 +02:00
parent 6fa280be0b
commit a99b006b98
5 changed files with 12 additions and 2 deletions

View file

@ -398,7 +398,7 @@ bool GCode::do_export(FILE *file, Print &print)
if (print.config.first_layer_bed_temperature.value > 0 &&
boost::ifind_first(print.config.start_gcode.value, std::string("M140")).empty() &&
boost::ifind_first(print.config.start_gcode.value, std::string("M190")).empty())
write(file, m_writer.set_bed_temperature(print.config.first_layer_bed_temperature.value, true));
write(file, m_writer.set_bed_temperature(print.config.first_layer_bed_temperature.value, print.config.set_and_wait_temperatures.value));
// Get optimal tool ordering to minimize tool switches of a multi-exruder print.
// For a print by objects, find the 1st printing object.