diff --git a/xs/src/libslic3r/GCode.cpp b/xs/src/libslic3r/GCode.cpp index 8c14b4adb..39f1a4102 100644 --- a/xs/src/libslic3r/GCode.cpp +++ b/xs/src/libslic3r/GCode.cpp @@ -13,6 +13,7 @@ #include #include #include +#include #include #include @@ -352,6 +353,8 @@ void GCode::do_export(Print *print, const char *path, GCodePreviewData *preview_ { PROFILE_CLEAR(); + BOOST_LOG_TRIVIAL(info) << "Exporting G-code..."; + // Remove the old g-code if it exists. boost::nowide::remove(path); @@ -389,6 +392,8 @@ void GCode::do_export(Print *print, const char *path, GCodePreviewData *preview_ std::string("Failed to rename the output G-code file from ") + path_tmp + " to " + path + '\n' + "Is " + path_tmp + " locked?" + '\n'); + BOOST_LOG_TRIVIAL(info) << "Exporting G-code finished"; + // Write the profiler measurements to file PROFILE_UPDATE(); PROFILE_OUTPUT(debug_out_path("gcode-export-profile.txt").c_str());