From 9f40e9e56ed617d45cdad670dd85ab79530c50f1 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Mon, 10 Feb 2020 15:46:08 +0100 Subject: [PATCH] Reverted the time estimate number stored into the G-code from days/hours/minutes to days/hours/minutes/seconds, because who knows who is already parsing the file. --- src/libslic3r/GCode.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libslic3r/GCode.cpp b/src/libslic3r/GCode.cpp index 61b4893cc..a4e812719 100644 --- a/src/libslic3r/GCode.cpp +++ b/src/libslic3r/GCode.cpp @@ -1528,9 +1528,9 @@ void GCode::_do_export(Print& print, FILE* file) _write_format(file, "; total filament cost = %.1lf\n", print.m_print_statistics.total_cost); if (print.m_print_statistics.total_toolchanges > 0) _write_format(file, "; total toolchanges = %i\n", print.m_print_statistics.total_toolchanges); - _write_format(file, "; estimated printing time (normal mode) = %s\n", m_normal_time_estimator.get_time_dhm/*s*/().c_str()); + _write_format(file, "; estimated printing time (normal mode) = %s\n", m_normal_time_estimator.get_time_dhm().c_str()); if (m_silent_time_estimator_enabled) - _write_format(file, "; estimated printing time (silent mode) = %s\n", m_silent_time_estimator.get_time_dhm/*s*/().c_str()); + _write_format(file, "; estimated printing time (silent mode) = %s\n", m_silent_time_estimator.get_time_dhm().c_str()); // Append full config. _write(file, "\n");