mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Fixed regression causing too much clipping at the endpoints of loops
This commit is contained in:
		
							parent
							
								
									e9ae62a9d1
								
							
						
					
					
						commit
						9b94a661d9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -112,7 +112,7 @@ sub extrude_loop {
 | 
			
		|||
    # clip the path to avoid the extruder to get exactly on the first point of the loop;
 | 
			
		||||
    # if polyline was shorter than the clipping distance we'd get a null polyline, so
 | 
			
		||||
    # we discard it in that case
 | 
			
		||||
    $extrusion_path->clip_end($self->layer ? $self->layer->flow->scaled_width : $Slic3r::flow->scaled_width * &Slic3r::LOOP_CLIPPING_LENGTH_OVER_WIDTH);
 | 
			
		||||
    $extrusion_path->clip_end(($self->layer ? $self->layer->flow->scaled_width : $Slic3r::flow->scaled_width) * &Slic3r::LOOP_CLIPPING_LENGTH_OVER_WIDTH);
 | 
			
		||||
    return '' if !@{$extrusion_path->polyline};
 | 
			
		||||
    
 | 
			
		||||
    # extrude along the path
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue