1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-22 09:54:27 +00:00

3rd attempt to fix opengl initialization on linux

This commit is contained in:
Enrico Turri
2018-06-04 14:28:59 +02:00
parent 548f773074
commit af8e869880
8 changed files with 28 additions and 1 deletions
+5
View File
@@ -1175,6 +1175,11 @@ bool GLCanvas3D::is_layers_editing_allowed() const
return m_layers_editing.is_allowed();
}
bool GLCanvas3D::is_shader_enabled() const
{
return m_shader_enabled;
}
void GLCanvas3D::enable_layers_editing(bool enable)
{
m_layers_editing.set_enabled(enable);