mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Introduce a ->count method for all collections to save time
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user