mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-06 21:44:08 -06:00
Introduce a ->count method for all collections to save time
This commit is contained in:
parent
d69c956e75
commit
e0da81e8bf
7 changed files with 12 additions and 4 deletions
|
@ -191,7 +191,7 @@ sub make_fill {
|
|||
}
|
||||
|
||||
# add thin fill regions
|
||||
if (@{ $layerm->thin_fills }) {
|
||||
if ($layerm->thin_fills->count > 0) {
|
||||
push @fills, Slic3r::ExtrusionPath::Collection->new(@{$layerm->thin_fills});
|
||||
push @fills_ordering_points, $fills[-1]->first_point;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue