mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Axes with fixed size in 3D previews
This commit is contained in:
		
							parent
							
								
									2ef164eeef
								
							
						
					
					
						commit
						c9e4c831c2
					
				
					 1 changed files with 1 additions and 4 deletions
				
			
		|  | @ -1281,10 +1281,7 @@ sub Render { | |||
|         # disable depth testing so that axes are not covered by ground | ||||
|         glDisable(GL_DEPTH_TEST); | ||||
|         my $origin = $self->origin; | ||||
|         my $axis_len = max( | ||||
|             0.3 * max(@{ $self->bed_bounding_box->size }), | ||||
|               2 * max(@{ $volumes_bb->size }), | ||||
|         ); | ||||
|         my $axis_len = $self->use_plain_shader ? 0.3 * max(@{ $self->bed_bounding_box->size }) : 2 * max(@{ $volumes_bb->size }); | ||||
|         glLineWidth(2); | ||||
|         glBegin(GL_LINES); | ||||
|         # draw line for x axis | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Enrico Turri
						Enrico Turri