mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-20 07:11:12 -06:00 
			
		
		
		
	FIX: Support Filament is being "Flush into objects' infill"
When using "Flush into objects' infill" with support filament, it also get's flushed into the object's infill which shouldn't be happening. Change-Id: I0f1cb3d5ee3cf5489ccab957989c6c24336f8845 (cherry picked from commit f83e63feb3ad5a14b0f4304e2e6fb1c5828270ec)
This commit is contained in:
		
							parent
							
								
									c225481a5d
								
							
						
					
					
						commit
						217234c8d3
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -868,7 +868,7 @@ int WipingExtrusions::first_nonsoluble_extruder_on_layer(const PrintConfig& prin | ||||||
| { | { | ||||||
|     const LayerTools& lt = *m_layer_tools; |     const LayerTools& lt = *m_layer_tools; | ||||||
|     for (auto extruders_it = lt.extruders.begin(); extruders_it != lt.extruders.end(); ++extruders_it) |     for (auto extruders_it = lt.extruders.begin(); extruders_it != lt.extruders.end(); ++extruders_it) | ||||||
|         if (!print_config.filament_soluble.get_at(*extruders_it)) |         if (!print_config.filament_soluble.get_at(*extruders_it) && !print_config.filament_is_support.get_at(*extruders_it)) | ||||||
|             return (*extruders_it); |             return (*extruders_it); | ||||||
| 
 | 
 | ||||||
|     return (-1); |     return (-1); | ||||||
|  | @ -879,7 +879,7 @@ int WipingExtrusions::last_nonsoluble_extruder_on_layer(const PrintConfig& print | ||||||
| { | { | ||||||
|     const LayerTools& lt = *m_layer_tools; |     const LayerTools& lt = *m_layer_tools; | ||||||
|     for (auto extruders_it = lt.extruders.rbegin(); extruders_it != lt.extruders.rend(); ++extruders_it) |     for (auto extruders_it = lt.extruders.rbegin(); extruders_it != lt.extruders.rend(); ++extruders_it) | ||||||
|         if (!print_config.filament_soluble.get_at(*extruders_it)) |         if (!print_config.filament_soluble.get_at(*extruders_it) && !print_config.filament_is_support.get_at(*extruders_it)) | ||||||
|             return (*extruders_it); |             return (*extruders_it); | ||||||
| 
 | 
 | ||||||
|     return (-1); |     return (-1); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 zhimin.zeng
						zhimin.zeng