Ruler for DoubleSlider: Added estimated print time

This commit is contained in:
YuSanka 2020-11-16 22:48:13 +01:00 committed by Oleksandra Yushchenko
parent cb844a4034
commit feffb66085
5 changed files with 19 additions and 7 deletions
src/libslic3r/GCode

View file

@ -393,7 +393,7 @@ void GCodeProcessor::TimeProcessor::post_process(const std::string& filename)
auto is_temporary_decoration = [](const std::string& gcode_line) {
// remove trailing '\n'
std::string line = gcode_line.substr(0, gcode_line.length() - 1);
if (line == "; " + Layer_Change_Tag)
if (line == ";" + Layer_Change_Tag)
return true;
else
return false;