Reverted the "set_and_wait_temperatures" configuration to match

the behavior of the @alexrj slic3r.
This commit is contained in:
bubnikv 2017-06-13 13:46:04 +02:00
parent fdb5ed1fcb
commit 6cb7583756

View file

@ -452,7 +452,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, print.config.set_and_wait_temperatures.value));
write(file, m_writer.set_bed_temperature(print.config.first_layer_bed_temperature.value, true));
// Get optimal tool ordering to minimize tool switches of a multi-exruder print.
// For a print by objects, find the 1st printing object.