mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 08:47:52 -06:00
ENABLE_GCODE_VIEWER -> Integration of time estimator into GCodeProcessor
This commit is contained in:
parent
755fdb5ab4
commit
3a88e69896
9 changed files with 1631 additions and 704 deletions
|
@ -1720,6 +1720,9 @@ void GCodeViewer::render_time_estimate() const
|
|||
if (ps.estimated_normal_print_time == "N/A" && ps.estimated_silent_print_time == "N/A")
|
||||
return;
|
||||
|
||||
if (ps.estimated_normal_print_time.empty() && ps.estimated_silent_print_time.empty())
|
||||
return;
|
||||
|
||||
ImGuiWrapper& imgui = *wxGetApp().imgui();
|
||||
|
||||
using Time = std::pair<float, float>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue