mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Removed useless, slow, code
This commit is contained in:
		
							parent
							
								
									f26f084064
								
							
						
					
					
						commit
						4d46ebc6cb
					
				
					 1 changed files with 0 additions and 9 deletions
				
			
		| 
						 | 
					@ -226,19 +226,10 @@ sub make_perimeters {
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    $self->_fill_gaps(\@gaps);
 | 
					    $self->_fill_gaps(\@gaps);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    # TODO: can these be removed?
 | 
					 | 
				
			||||||
    @contours   = grep $_->is_printable($self->perimeter_flow->scaled_width), @contours;
 | 
					 | 
				
			||||||
    @holes      = grep $_->is_printable($self->perimeter_flow->scaled_width), @holes;
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    # find nesting hierarchies separately for contours and holes
 | 
					    # find nesting hierarchies separately for contours and holes
 | 
				
			||||||
    my $contours_pt = union_pt(\@contours, PFT_EVENODD);
 | 
					    my $contours_pt = union_pt(\@contours, PFT_EVENODD);
 | 
				
			||||||
    my $holes_pt    = union_pt(\@holes, PFT_EVENODD);
 | 
					    my $holes_pt    = union_pt(\@holes, PFT_EVENODD);
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    # get lower layer slices for overhang check
 | 
					 | 
				
			||||||
    my @lower_slices = $self->id == 0
 | 
					 | 
				
			||||||
        ? ()
 | 
					 | 
				
			||||||
        : map @$_, @{$self->layer->object->layers->[$self->id-1]->slices};
 | 
					 | 
				
			||||||
    
 | 
					 | 
				
			||||||
    # prepare a coderef for traversing the PolyTree object
 | 
					    # prepare a coderef for traversing the PolyTree object
 | 
				
			||||||
    # external contours are root items of $contours_pt
 | 
					    # external contours are root items of $contours_pt
 | 
				
			||||||
    # internal contours are the ones next to external
 | 
					    # internal contours are the ones next to external
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue