mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	After issuing the color change custom G-code, which is most likely
just M600, reset the internal retract counter, so that a retract will happen after the firmware returns from M600 to the initial position. Fixes "Blobs on print after manual color change #6362"
This commit is contained in:
		
							parent
							
								
									eb428d48fc
								
							
						
					
					
						commit
						48a93e40fb
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -1778,6 +1778,10 @@ namespace ProcessLayer | |||
|                 else { | ||||
|                     gcode += gcodegen.placeholder_parser_process("color_change_gcode", config.color_change_gcode, current_extruder_id); | ||||
|                     gcode += "\n"; | ||||
|                     //FIXME Tell G-code writer that M600 filled the extruder, thus the G-code writer shall reset the extruder to unretracted state after
 | ||||
|                     // return from M600. Thus the G-code generated by the following line is ignored.
 | ||||
|                     // see GH issue #6362
 | ||||
|                     gcodegen.writer().unretract(); | ||||
|                 } | ||||
| 	        }  | ||||
| 	        else { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Vojtech Bubnik
						Vojtech Bubnik