mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
GCodeViewer -> Basic legend using imgui
This commit is contained in:
parent
a74fa7f019
commit
3a07e8730f
4 changed files with 90 additions and 9 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue