mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-09 15:57:55 -06:00
NEW:show flush of every filament on gcodeviewer
1.show flush of every filament 2.modify first-layer text display 3.show time in seconds when time cost < 1h 4.forbid add-filament when print by-object Change-Id: Ib8a94b9f620797e367bfc9e8a33abd5d7ab648ec
This commit is contained in:
parent
ec347aba3a
commit
07d234825e
3 changed files with 41 additions and 27 deletions
|
@ -372,7 +372,7 @@ inline std::string short_time(const std::string &time)
|
|||
else if (hours > 0)
|
||||
::sprintf(buffer, "%dh%dm", hours, minutes);
|
||||
else if (minutes > 0)
|
||||
::sprintf(buffer, "%dm", minutes);
|
||||
::sprintf(buffer, "%dm%ds", minutes, seconds);
|
||||
else
|
||||
::sprintf(buffer, "%ds", seconds);
|
||||
return buffer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue