mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-16 18:12:10 +00:00
GCodeViewer -> Estimated printing time dialog hidden by defaul
This commit is contained in:
@@ -495,6 +495,14 @@ void GCodeViewer::set_layers_z_range(const std::array<double, 2>& layers_z_range
|
||||
wxGetApp().plater()->update_preview_moves_slider();
|
||||
}
|
||||
|
||||
void GCodeViewer::enable_time_estimate(bool enable)
|
||||
{
|
||||
m_time_estimate_enabled = enable;
|
||||
wxGetApp().update_ui_from_settings();
|
||||
wxGetApp().plater()->get_current_canvas3D()->set_as_dirty();
|
||||
wxGetApp().plater()->get_current_canvas3D()->request_extra_frame();
|
||||
}
|
||||
|
||||
void GCodeViewer::export_toolpaths_to_obj(const char* filename) const
|
||||
{
|
||||
if (filename == nullptr)
|
||||
|
||||
Reference in New Issue
Block a user