mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
View toolbar's initialization of icon size moved from GLCanvas3D::GLCanvas3D() to Plater::priv::priv() for OSX build
This commit is contained in:
parent
3f69336204
commit
595128a90d
2 changed files with 13 additions and 5 deletions
|
@ -1471,13 +1471,11 @@ GLCanvas3D::GLCanvas3D(wxGLCanvas* canvas, Bed3D& bed, Camera& camera, GLToolbar
|
|||
m_timer.SetOwner(m_canvas);
|
||||
#if ENABLE_RETINA_GL
|
||||
m_retina_helper.reset(new RetinaHelper(canvas));
|
||||
#if !ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
// set default view_toolbar icons size equal to GLGizmosManager::Default_Icons_Size
|
||||
#if ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
wxGetApp().plater()->get_view_toolbar().set_icons_size(GLGizmosManager::Default_Icons_Size);
|
||||
#else
|
||||
m_view_toolbar.set_icons_size(GLGizmosManager::Default_Icons_Size);
|
||||
#endif // ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
#endif
|
||||
#endif // !ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
#endif // ENABLE_RETINA_GL
|
||||
}
|
||||
|
||||
m_selection.set_volumes(&m_volumes.volumes);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue