mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 15:44:12 -06:00
Fix previous commit about slicing from smallest to tallest
This commit is contained in:
parent
e4b37db13f
commit
e7d609db12
1 changed files with 1 additions and 1 deletions
|
@ -538,7 +538,7 @@ sub write_gcode {
|
||||||
|
|
||||||
# print objects from the smallest to the tallest to avoid collisions
|
# print objects from the smallest to the tallest to avoid collisions
|
||||||
# when moving onto next object starting point
|
# when moving onto next object starting point
|
||||||
my @obj_idx = sort { $a->layer_count <=> $b->layer_count } 0..$#{$self->objects};
|
my @obj_idx = sort { $self->objects->[$a]->layer_count <=> $self->objects->[$b]->layer_count } 0..$#{$self->objects};
|
||||||
|
|
||||||
my $finished_objects = 0;
|
my $finished_objects = 0;
|
||||||
for my $obj_idx (@obj_idx) {
|
for my $obj_idx (@obj_idx) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue