mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Bugfix for zero-width tree supports (#1367)
fix bug with zero width tree supports throwing exception.
This commit is contained in:
		
							parent
							
								
									b943a04da7
								
							
						
					
					
						commit
						1ef8ca2de0
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		|  | @ -1378,6 +1378,10 @@ void TreeSupport::generate_toolpaths() | |||
|     coordf_t layer_height = object_config.layer_height.value; | ||||
|     const size_t wall_count = object_config.tree_support_wall_count.value; | ||||
| 
 | ||||
|     // Check if set to zero, use default if so.
 | ||||
|     if (support_extrusion_width <= 0.0) | ||||
|         support_extrusion_width = Flow::auto_extrusion_width(FlowRole::frSupportMaterial, (float)nozzle_diameter); | ||||
| 
 | ||||
|     // coconut: use same intensity settings as SupportMaterial.cpp
 | ||||
|     auto m_support_material_interface_flow = support_material_interface_flow(m_object, float(m_slicing_params.layer_height)); | ||||
|     coordf_t interface_spacing = object_config.support_interface_spacing.value + m_support_material_interface_flow.spacing(); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Scott Mudge
						Scott Mudge