mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-16 10:25:54 +08:00
Slightly increased limit for zoom out
This commit is contained in:
parent
2f48997a22
commit
4066df2db7
@ -5708,7 +5708,7 @@ void GLCanvas3D::set_camera_zoom(float zoom)
|
||||
// Don't allow to zoom too far outside the scene.
|
||||
float zoom_min = _get_zoom_to_bounding_box_factor(_max_bounding_box());
|
||||
if (zoom_min > 0.0f)
|
||||
zoom = std::max(zoom, zoom_min * 0.8f);
|
||||
zoom = std::max(zoom, zoom_min * 0.7f);
|
||||
|
||||
m_camera.zoom = zoom;
|
||||
viewport_changed();
|
||||
|
Loading…
x
Reference in New Issue
Block a user