mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-15 20:08:09 +08:00
Fixed wrong commit f495136. Thanks pdbogen for the report. #1623
This commit is contained in:
parent
7e8841805c
commit
ca16567ba9
@ -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…
x
Reference in New Issue
Block a user