mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Debugging statement left in
This commit is contained in:
		
							parent
							
								
									23ae015c49
								
							
						
					
					
						commit
						190875d3df
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -714,7 +714,7 @@ sub angle3points {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
sub polyline_remove_parallel_continuous_edges {
 | 
					sub polyline_remove_parallel_continuous_edges {
 | 
				
			||||||
    my ($points, $isPolygon) = @_;
 | 
					    my ($points, $isPolygon) = @_;
 | 
				
			||||||
    use XXX; ZZZ $points if !eval {@$points};
 | 
					    
 | 
				
			||||||
    for (my $i = $isPolygon ? 0 : 2; $i <= $#$points && @$points >= 3; $i++) {
 | 
					    for (my $i = $isPolygon ? 0 : 2; $i <= $#$points && @$points >= 3; $i++) {
 | 
				
			||||||
        if (Slic3r::Geometry::lines_parallel([$points->[$i-2], $points->[$i-1]], [$points->[$i-1], $points->[$i]])) {
 | 
					        if (Slic3r::Geometry::lines_parallel([$points->[$i-2], $points->[$i-1]], [$points->[$i-1], $points->[$i]])) {
 | 
				
			||||||
            # we can remove $points->[$i-1]
 | 
					            # we can remove $points->[$i-1]
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue