mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Optimization: Remove useless calls to union()
This commit is contained in:
		
							parent
							
								
									10ab3bbb86
								
							
						
					
					
						commit
						09684c67c2
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -150,7 +150,7 @@ sub _merge_loops { | |||
|         # of the loops, since the Orientation() function provided by Clipper | ||||
|         # would do the same, thus repeating the calculation | ||||
|         $slices = ($area[$i] >= 0) | ||||
|             ? union([ $loops->[$i], @$slices ]) | ||||
|             ? [ $loops->[$i], @$slices ] | ||||
|             : diff($slices, [$loops->[$i]]); | ||||
|     } | ||||
|      | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci