GCodeViewer -> Basic legend using imgui

This commit is contained in:
enricoturri1966 2020-04-18 10:41:37 +02:00
parent a74fa7f019
commit 3a07e8730f
4 changed files with 90 additions and 9 deletions

View file

@ -1941,7 +1941,11 @@ void GLCanvas3D::enable_layers_editing(bool enable)
void GLCanvas3D::enable_legend_texture(bool enable)
{
#if ENABLE_GCODE_VIEWER
m_gcode_viewer.enable_legend(enable);
#else
m_legend_texture_enabled = enable;
#endif // ENABLE_GCODE_VIEWER
}
void GLCanvas3D::enable_picking(bool enable)