mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 12:41:20 -06:00 
			
		
		
		
	ENH: remove a assert which is wrong
This is a wrong assert code! Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: Iec33e0ab456f0e726b1c3e87c30cb2649a55b39d
This commit is contained in:
		
							parent
							
								
									416e100b1d
								
							
						
					
					
						commit
						ce2d2defc0
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		|  | @ -3965,7 +3965,6 @@ std::string GCode::set_extruder(unsigned int extruder_id, double print_z) | |||
|         std::vector<float> flush_matrix(cast<float>(m_config.flush_volumes_matrix.values)); | ||||
|         const unsigned int number_of_extruders = (unsigned int)(sqrt(flush_matrix.size()) + EPSILON); | ||||
|         assert(m_writer.extruder()->id() < number_of_extruders); | ||||
|         assert(new_retract_length < number_of_extruders); | ||||
| 
 | ||||
|         int previous_extruder_id = m_writer.extruder()->id(); | ||||
|         old_retract_length = m_config.retraction_length.get_at(previous_extruder_id); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 salt.wei
						salt.wei