ENABLE_GCODE_VIEWER -> Integration of time estimator into GCodeProcessor

This commit is contained in:
enricoturri1966 2020-07-16 11:09:21 +02:00
parent 755fdb5ab4
commit 3a88e69896
9 changed files with 1631 additions and 704 deletions
src/slic3r/GUI

View file

@ -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>;