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