mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Slightly increased limit for zoom out
This commit is contained in:
		
							parent
							
								
									2f48997a22
								
							
						
					
					
						commit
						4066df2db7
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Enrico Turri
						Enrico Turri