mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-15 11:42:52 +02:00
Ported some methods to XS
This commit is contained in:
1 parent
1813a309a7
commit
380dd8adfc
13 files changed
+176
-93
No files matched your search
@@ -135,7 +135,7 @@ sub process_layer {
|
||||
}
|
||||
|
||||
# tweak region ordering to save toolchanges
|
||||
my @region_ids = 0 .. ($self->print->regions_count-1);
|
||||
my @region_ids = 0 .. ($self->print->region_count-1);
|
||||
if ($self->gcodegen->multiple_extruders) {
|
||||
my $last_extruder = $self->gcodegen->extruder;
|
||||
my $best_region_id = first { $self->print->regions->[$_]->config->perimeter_extruder-1 eq $last_extruder } @region_ids;
|
||||
|
||||
Reference in new issue
Block a user