mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Bugfix: tool numbers written in G-code were wrong
This commit is contained in:
		
							parent
							
								
									1a6eaeaa91
								
							
						
					
					
						commit
						d1e0bcf113
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -388,7 +388,7 @@ sub set_extruder {
 | 
			
		|||
    
 | 
			
		||||
    # set the new extruder
 | 
			
		||||
    $self->extruder($extruder);
 | 
			
		||||
    $gcode .= sprintf "T%d%s\n", $extruder, ($Slic3r::Config->gcode_comments ? ' ; change extruder' : '');
 | 
			
		||||
    $gcode .= sprintf "T%d%s\n", $extruder->id, ($Slic3r::Config->gcode_comments ? ' ; change extruder' : '');
 | 
			
		||||
    $gcode .= $self->reset_e;
 | 
			
		||||
    
 | 
			
		||||
    return $gcode;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue