Fixed regression causing first two layers to be infilled with parallel lines
This commit is contained in:
parent
e21c806ee9
commit
2ef90562ce
1 changed files with 10 additions and 7 deletions
|
@ -50,8 +50,6 @@ sub make_fill {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
my ($layer) = @_;
|
my ($layer) = @_;
|
||||||
|
|
||||||
$_->layer_id($layer->id) for values %{$self->fillers};
|
|
||||||
|
|
||||||
Slic3r::debugf "Filling layer %d:\n", $layer->id;
|
Slic3r::debugf "Filling layer %d:\n", $layer->id;
|
||||||
|
|
||||||
# merge overlapping surfaces
|
# merge overlapping surfaces
|
||||||
|
@ -145,11 +143,16 @@ sub make_fill {
|
||||||
next SURFACE unless $density > 0;
|
next SURFACE unless $density > 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
my @paths = $self->filler($filler)->fill_surface(
|
my @paths;
|
||||||
$surface,
|
{
|
||||||
density => $density,
|
my $f = $self->filler($filler);
|
||||||
flow_spacing => $flow_spacing,
|
$f->layer_id($layer->id);
|
||||||
);
|
@paths = $f->fill_surface(
|
||||||
|
$surface,
|
||||||
|
density => $density,
|
||||||
|
flow_spacing => $flow_spacing,
|
||||||
|
);
|
||||||
|
}
|
||||||
my $params = shift @paths;
|
my $params = shift @paths;
|
||||||
|
|
||||||
# save into layer
|
# save into layer
|
||||||
|
|
Loading…
Add table
Reference in a new issue