#4719 - Fixed toolpaths generation when background process is on

This commit is contained in:
enricoturri1966 2020-10-15 12:42:58 +02:00
parent 3fc12fdaaa
commit 36bedfdebf
3 changed files with 54 additions and 56 deletions

View file

@ -1580,13 +1580,6 @@ bool GLCanvas3D::init()
if (m_main_toolbar.is_enabled())
m_layers_editing.init();
#if ENABLE_GCODE_VIEWER
if (!m_main_toolbar.is_enabled()) {
if (!m_gcode_viewer.init())
return false;
}
#endif // ENABLE_GCODE_VIEWER
// on linux the gl context is not valid until the canvas is not shown on screen
// we defer the geometry finalization of volumes until the first call to render()
m_volumes.finalize_geometry(true);