mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Forced zoom to bed when changing bed size
This commit is contained in:
		
							parent
							
								
									34cf541e0d
								
							
						
					
					
						commit
						aa22f75829
					
				
					 1 changed files with 1 additions and 7 deletions
				
			
		|  | @ -3322,13 +3322,7 @@ void GLCanvas3D::set_bed_shape(const Pointfs& shape) | |||
|     set_axes_length(0.3f * (float)m_bed.get_bounding_box().max_size()); | ||||
| 
 | ||||
|     if (new_shape) | ||||
|     { | ||||
|         // forces the selection of the proper camera target
 | ||||
|         if (m_volumes.volumes.empty()) | ||||
|             zoom_to_bed(); | ||||
|         else | ||||
|             zoom_to_volumes(); | ||||
|     } | ||||
|         zoom_to_bed(); | ||||
| 
 | ||||
|     m_dirty = true; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Enrico Turri
						Enrico Turri