mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Bugfix: removed fatal error when generating SVG support material in some circumstances. #673
This commit is contained in:
		
							parent
							
								
									c6c7dd12da
								
							
						
					
					
						commit
						037be34b7b
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		|  | @ -462,7 +462,8 @@ EOF | |||
|             foreach my $expolygon (@unsupported_slices) { | ||||
|                 # look for the nearest point to this island among all | ||||
|                 # supported points | ||||
|                 my $support_point = nearest_point($expolygon->contour->[0], \@supported_points); | ||||
|                 my $support_point = nearest_point($expolygon->contour->[0], \@supported_points) | ||||
|                     or next; | ||||
|                 my $anchor_point = nearest_point($support_point, $expolygon->contour->[0]); | ||||
|                 printf $fh qq{    <line x1="%s" y1="%s" x2="%s" y2="%s" style="stroke-width: 2; stroke: white" />\n}, | ||||
|                     map @$_, $support_point, $anchor_point; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci