mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 15:07:31 -06:00
ENH: fix the error time in gcode viewer
As title Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: I9322b119b68055baea0e6f63d179a0addf02307e
This commit is contained in:
parent
65f2a063b6
commit
f3c7953bdc
2 changed files with 12 additions and 7 deletions
|
@ -457,7 +457,9 @@ 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, "; total estimated time: %s\n", get_time_dhms(machine.time).c_str());
|
||||
sprintf(buf, "; model printing time: %s\n; 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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue