mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Don't use equality comparisons for floats
This fixes an issue where F0 moves arise from 0-width (or 0 layer height?) support material segments when using autospeed. Fixes: #3261
This commit is contained in:
		
							parent
							
								
									a32937cef2
								
							
						
					
					
						commit
						5f8eea9adf
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -75,7 +75,8 @@ sub BUILD {
 | 
			
		|||
                    }
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
            @mm3_per_mm = grep $_ != 0, @mm3_per_mm;
 | 
			
		||||
            # filter out 0-width segments
 | 
			
		||||
            @mm3_per_mm = grep $_ > 0.000001, @mm3_per_mm;
 | 
			
		||||
            if (@mm3_per_mm) {
 | 
			
		||||
                my $min_mm3_per_mm = min(@mm3_per_mm);
 | 
			
		||||
                # In order to honor max_print_speed we need to find a target volumetric
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue