mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 11:02:08 +00:00
Optimization: cache scaled flow width and spacing
This commit is contained in:
@@ -63,7 +63,7 @@ sub fill_surface {
|
||||
my $path = $loop->split_at_index($index);
|
||||
|
||||
# clip the path to avoid the extruder to get exactly on the first point of the loop
|
||||
$path->clip_end(scale($self->layer ? $self->layer->flow->width : $Slic3r::flow->width) * 0.15);
|
||||
$path->clip_end($self->layer ? $self->layer->flow->scaled_width : $Slic3r::flow->scaled_width * 0.15);
|
||||
|
||||
push @paths, $path->points if @{$path->points};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user