mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-15 19:52:52 +02:00
Minor issue when dealing with files with empty layers at bottom. #2553
This commit is contained in:
1 parent
f11196525b
commit
9f0283f808
4 files changed
+18
-9
No files matched your search
@@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user