mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 19:12:38 -07:00
Slightly increased limit for zoom out
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user