mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-15 01:22:07 +00:00
ENABLE_GCODE_VIEWER -> Integration of time estimator into GCodeProcessor
This commit is contained in:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user