mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 15:44:12 -06:00
3rd attempt to fix opengl initialization on linux
This commit is contained in:
parent
548f773074
commit
af8e869880
8 changed files with 28 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue