mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-29 19:53:44 -06:00 
			
		
		
		
	Fixed typo preventing support material to work with new simplify() syntax
This commit is contained in:
		
							parent
							
								
									db2e76a0df
								
							
						
					
					
						commit
						f4b8185698
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -776,7 +776,7 @@ sub generate_support_material { | |||
|             ); | ||||
|             $layers_contact_areas{$i} = [ | ||||
|                 map $_->simplify($flow->scaled_spacing),  | ||||
|                     collapse_ex([ map @$_, @{$layers_contact_areas{$i}} ], $flow->scaled_width), | ||||
|                     @{collapse_ex([ map @$_, @{$layers_contact_areas{$i}} ], $flow->scaled_width)}, | ||||
|             ]; | ||||
|              | ||||
|             # to define interface regions of this layer we consider the overhangs of all the upper layers | ||||
|  | @ -790,7 +790,7 @@ sub generate_support_material { | |||
|             ); | ||||
|             $layers_interfaces{$i} = [ | ||||
|                 map $_->simplify($flow->scaled_spacing),  | ||||
|                     collapse_ex([ map @$_, @{$layers_interfaces{$i}} ], $flow->scaled_width), | ||||
|                     @{collapse_ex([ map @$_, @{$layers_interfaces{$i}} ], $flow->scaled_width)}, | ||||
|             ]; | ||||
|              | ||||
|             # generate support material in current layer (for upper layers) | ||||
|  | @ -812,7 +812,7 @@ sub generate_support_material { | |||
|             ); | ||||
|             $layers{$i} = [ | ||||
|                 map $_->simplify($flow->scaled_spacing),  | ||||
|                     collapse_ex([ map @$_, @{$layers{$i}} ], $flow->scaled_width), | ||||
|                     @{collapse_ex([ map @$_, @{$layers{$i}} ], $flow->scaled_width)}, | ||||
|             ]; | ||||
|              | ||||
|             # get layer overhangs and put them into queue for adding support inside lower layers; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci