mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Bugfix for recent solid infill adjustment math, to take float math into account
This commit is contained in:
		
							parent
							
								
									75cbe879b7
								
							
						
					
					
						commit
						ab0300bb70
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -37,7 +37,7 @@ sub fill_surface {
 | 
			
		|||
    my @paths = ();
 | 
			
		||||
    my $x = $bounding_box->[X1];
 | 
			
		||||
    my $is_line_pattern = $self->isa('Slic3r::Fill::Line');
 | 
			
		||||
    for (my $i = 0; $x <= $bounding_box->[X2]; $i++) {
 | 
			
		||||
    for (my $i = 0; $x <= $bounding_box->[X2] + scale epsilon; $i++) {
 | 
			
		||||
        my $vertical_line = [ [$x, $bounding_box->[Y2]], [$x, $bounding_box->[Y1]] ];
 | 
			
		||||
        if ($is_line_pattern && $i % 2) {
 | 
			
		||||
            $vertical_line->[A][X] -= $line_oscillation;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue