mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Fixed test after recent changes
This commit is contained in:
		
							parent
							
								
									16850b63ed
								
							
						
					
					
						commit
						de88144649
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		
							
								
								
									
										4
									
								
								t/stl.t
									
										
									
									
									
								
							
							
						
						
									
										4
									
								
								t/stl.t
									
										
									
									
									
								
							| 
						 | 
					@ -102,7 +102,8 @@ is $lower[0]->facet_edge, 'bottom', 'bottom edge on layer';
 | 
				
			||||||
is $upper[0]->facet_edge, 'top', 'upper edge on layer';
 | 
					is $upper[0]->facet_edge, 'top', 'upper edge on layer';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
sub vertices {
 | 
					sub vertices {
 | 
				
			||||||
    [ map [ @{$points[$_]}, $_[$_] ], 0..2 ]
 | 
					    push @{$mesh->vertices}, map [ @{$points[$_]}, $_[$_] ], 0..2;
 | 
				
			||||||
 | 
					    [ ($#{$mesh->vertices}-2) .. $#{$mesh->vertices} ]
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
sub lines {
 | 
					sub lines {
 | 
				
			||||||
| 
						 | 
					@ -116,6 +117,7 @@ sub lines {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
sub line_plane_intersection {
 | 
					sub line_plane_intersection {
 | 
				
			||||||
    my ($line) = @_;
 | 
					    my ($line) = @_;
 | 
				
			||||||
 | 
					    @$line = map $mesh->vertices->[$_], @$line;
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    return [
 | 
					    return [
 | 
				
			||||||
        map sprintf('%.0f', $_),
 | 
					        map sprintf('%.0f', $_),
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue