mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 20:51:12 -06:00 
			
		
		
		
	Merge branch 'master' of https://github.com/Prusa3d/Slic3r
This commit is contained in:
		
						commit
						4464fcc9d2
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -5951,6 +5951,9 @@ void GLCanvas3D::set_camera_zoom(float zoom) | ||||||
|     if (zoom_min > 0.0f) |     if (zoom_min > 0.0f) | ||||||
|         zoom = std::max(zoom, zoom_min * 0.7f); |         zoom = std::max(zoom, zoom_min * 0.7f); | ||||||
| 
 | 
 | ||||||
|  |     // Don't allow to zoom too close to the scene.
 | ||||||
|  |     zoom = std::min(zoom, 100.0f); | ||||||
|  | 
 | ||||||
|     m_camera.zoom = zoom; |     m_camera.zoom = zoom; | ||||||
|     viewport_changed(); |     viewport_changed(); | ||||||
|     _refresh_if_shown_on_screen(); |     _refresh_if_shown_on_screen(); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 bubnikv
						bubnikv