mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-15 01:22:07 +00:00
ENH: fix gcode viewer line error issue
Should not insert new line in post process which changes the the final line id in gcode file Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: Ib8b837cf313a1308260db88bf5390fefe9708cc8
This commit is contained in:
@@ -457,7 +457,7 @@ void GCodeProcessor::TimeProcessor::post_process(const std::string& filename, st
|
||||
//sprintf(buf, "; estimated printing time (%s mode) = %s\n",
|
||||
// (mode == PrintEstimatedStatistics::ETimeMode::Normal) ? "normal" : "silent",
|
||||
// get_time_dhms(machine.time).c_str());
|
||||
sprintf(buf, "; model printing time: %s\n; total estimated time: %s\n",
|
||||
sprintf(buf, "; model printing time: %s; total estimated time: %s\n",
|
||||
get_time_dhms(machine.time - machine.roles_time[ExtrusionRole::erCustom]).c_str(),
|
||||
get_time_dhms(machine.time).c_str());
|
||||
ret += buf;
|
||||
|
||||
Reference in New Issue
Block a user