mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Fixed preview of ExtrusionMultiPath instances.
This commit is contained in:
		
							parent
							
								
									c0b3de6248
								
							
						
					
					
						commit
						081c1d681c
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -1969,7 +1969,8 @@ sub _extrusionentity_to_verts { | |||
|         $lines   = []; | ||||
|         $widths  = []; | ||||
|         $heights = []; | ||||
|         $closed  = 1; | ||||
|         # $entity is either of type Slic3r::ExtrusionLoop or Slic3r::ExtrusionMultiPath. | ||||
|         $closed  = $entity->isa('Slic3r::ExtrusionLoop') ? 1 : 0; | ||||
|         foreach my $path (@$entity) { | ||||
|             my $polyline = $path->polyline->clone; | ||||
|             $polyline->remove_duplicate_points; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 bubnikv
						bubnikv