ENABLE_GCODE_VIEWER -> Estimated print time statistics moved from PrintStatistics to GCodeProcessor

This commit is contained in:
enricoturri1966 2020-08-03 13:57:10 +02:00
parent 69a0a1c96e
commit 5249b3e018
7 changed files with 227 additions and 258 deletions

View file

@ -1432,8 +1432,6 @@ void MainFrame::set_mode(EMode mode)
select_tab(0);
#endif // ENABLE_LAYOUT_NO_RESTART
m_plater->fff_print().print_statistics().clear_time_estimates();
m_plater->reset();
m_plater->reset_gcode_toolpaths();
@ -1477,8 +1475,6 @@ void MainFrame::set_mode(EMode mode)
update_layout();
#endif // ENABLE_LAYOUT_NO_RESTART
m_plater->fff_print().print_statistics().clear_time_estimates();
m_plater->reset();
m_plater->reset_last_loaded_gcode();
m_plater->reset_gcode_toolpaths();