mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Fixed build on Mac
This commit is contained in:
parent
a54d77699b
commit
bfbcd45209
3 changed files with 1 additions and 7 deletions
|
@ -4229,7 +4229,7 @@ void GLCanvas3D::update_ui_from_settings()
|
|||
BOOST_LOG_TRIVIAL(debug) << "GLCanvas3D: Scaling factor: " << new_scaling;
|
||||
|
||||
#if ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
camera.set_zoom(camera.get_zoom() * new_scaling / orig_scaling);
|
||||
wxGetApp().plater()->get_camera().set_zoom(camera.get_zoom() * new_scaling / orig_scaling);
|
||||
#else
|
||||
m_camera.set_zoom(m_camera.get_zoom() * new_scaling / orig_scaling);
|
||||
#endif // ENABLE_NON_STATIC_CANVAS_MANAGER
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue