mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	
							parent
							
								
									7e8841805c
								
							
						
					
					
						commit
						ca16567ba9
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -199,7 +199,7 @@ sub slice {
 | 
			
		|||
    
 | 
			
		||||
    # remove empty layers from bottom
 | 
			
		||||
    my $first_object_layer_id = $self->config->raft_layers;
 | 
			
		||||
    while (@{$self->layers} && !@{$self->layers->[$first_object_layer_id]->slices}, @{$self->layers->[$first_object_layer_id]->regions}) {
 | 
			
		||||
    while (@{$self->layers} && !@{$self->layers->[$first_object_layer_id]->slices}) {
 | 
			
		||||
        splice @{$self->layers}, $first_object_layer_id, 1;
 | 
			
		||||
        for (my $i = $first_object_layer_id; $i <= $#{$self->layers}; $i++) {
 | 
			
		||||
            $self->layers->[$i]->id($i);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue