mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 12:41:20 -06:00 
			
		
		
		
	Wipetower fix: temperature-changing command was sometimes missing after the toolchange
Cause: variable holding last issued temperature was not reset where it should have been This should fix issue #2685
This commit is contained in:
		
							parent
							
								
									07250bd781
								
							
						
					
					
						commit
						170bd8b064
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -1242,6 +1242,8 @@ void WipeTower::generate(std::vector<std::vector<WipeTower::ToolChangeResult>> & | |||
|     for (auto& used : m_used_filament_length) // reset used filament stats
 | ||||
|         used = 0.f; | ||||
| 
 | ||||
|     m_old_temperature = -1; // reset last temperature written in the gcode
 | ||||
| 
 | ||||
|     std::vector<WipeTower::ToolChangeResult> layer_result; | ||||
| 	for (auto layer : m_plan) | ||||
| 	{ | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lukas Matena
						Lukas Matena