Fixed visualization of G-code in G-code viewer after 07e7e11590

Fix of prusa-gcodeviewer changes modification time of the viewed gcode file #7005
This commit is contained in:
Vojtech Bubnik 2021-10-15 14:31:41 +02:00
parent df30dfc2bc
commit 1ca24f0bd0

View file

@ -1251,7 +1251,7 @@ void GCodeProcessor::process_file(const std::string& filename, std::function<voi
cancel_callback();
}
this->process_gcode_line(line, true);
});
}, m_result.lines_ends);
// Don't post-process the G-code to update time stamps.
this->finalize(false);