mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-02 15:21:03 -07:00
Refactoring: new Layer::make_fill() method
This commit is contained in:
parent
9eabbded2b
commit
a32937cef2
3 changed files with 15 additions and 15 deletions
|
|
@ -29,6 +29,15 @@ sub regions {
|
|||
return [ map $self->get_region($_), 0..($self->region_count-1) ];
|
||||
}
|
||||
|
||||
sub make_fill {
|
||||
my ($self) = @_;
|
||||
|
||||
foreach my $layerm (@{$self->regions}) {
|
||||
$layerm->fills->clear;
|
||||
$layerm->fills->append($_) for $self->object->fill_maker->make_fill($layerm);
|
||||
}
|
||||
}
|
||||
|
||||
package Slic3r::Layer::Support;
|
||||
our @ISA = qw(Slic3r::Layer);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue