Ruler for DoubleSlider: Added estimated print time

This commit is contained in:
YuSanka authored and Oleksandra Yushchenko committed 2020-11-18 05:02:51 -08:00
1 parent cb844a4034
commit feffb66085
5 files changed
+19 -7

No files matched your search

+1 -1
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;