diff options
author | bubnikv <bubnikv@gmail.com> | 2018-01-06 20:49:28 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2018-01-06 20:49:28 +0300 |
commit | fec1fcdca8805cd6db95095abdaea5952e22d513 (patch) | |
tree | 7d6946c2b8386ff0606e5a3dbc430ff6ebfc9e63 /xs/src/libslic3r/GCode.cpp | |
parent | 60a6e7ba8e88e43a9b5234cac0855d2b77875988 (diff) |
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.
Diffstat (limited to 'xs/src/libslic3r/GCode.cpp')
-rw-r--r-- | xs/src/libslic3r/GCode.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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. |