mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -06:00 
			
		
		
		
	Minor issue when dealing with files with empty layers at bottom. #2553
This commit is contained in:
		
							parent
							
								
									f11196525b
								
							
						
					
					
						commit
						9f0283f808
					
				
					 4 changed files with 18 additions and 9 deletions
				
			
		|  | @ -291,7 +291,7 @@ sub slice { | |||
|     while (@{$self->layers} && !@{$self->get_layer(0)->slices}) { | ||||
|         shift @{$self->layers}; | ||||
|         for (my $i = 0; $i <= $#{$self->layers}; $i++) { | ||||
|             $self->get_layer($i)->id( $self->get_layer($i)->id-1 ); | ||||
|             $self->get_layer($i)->set_id( $self->get_layer($i)->id-1 ); | ||||
|         } | ||||
|     } | ||||
|      | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci