From fec1fcdca8805cd6db95095abdaea5952e22d513 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Sat, 6 Jan 2018 18:49:28 +0100 Subject: Separated the Marlin G-code flavor from the RepRap G-code flavor due to the differences in the M203 code (RepRap firmware has it in mm/min, Marlin in mm/sec). This difference is important to the G-code time estimator. Changed the g-code flavor to Marlin for all Prusa3D bundled profiles. --- xs/src/libslic3r/GCode.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'xs/src/libslic3r/GCode.cpp') diff --git a/xs/src/libslic3r/GCode.cpp b/xs/src/libslic3r/GCode.cpp index e85b21f80..d22040799 100644 --- a/xs/src/libslic3r/GCode.cpp +++ b/xs/src/libslic3r/GCode.cpp @@ -400,6 +400,7 @@ void GCode::_do_export(Print &print, FILE *file) // resets time estimator m_time_estimator.reset(); + m_time_estimator.set_dialect(print.config.gcode_flavor); // How many times will be change_layer() called? // change_layer() in turn increments the progress bar status. -- cgit v1.2.3