This commit is contained in:
Alessandro Ranellucci 2017-03-17 20:05:04 +01:00
parent c4188accc9
commit a5b10287d6

View File

@ -548,7 +548,7 @@ sub clip_fill_surfaces {
# apply new internal infill to regions # apply new internal infill to regions
foreach my $layerm (@{$lower_layer->regions}) { foreach my $layerm (@{$lower_layer->regions}) {
next if $layerm->config->fill_density == 0; next if $layerm->region->config->fill_density == 0;
my (@internal, @other) = (); my (@internal, @other) = ();
foreach my $surface (map $_->clone, @{$layerm->fill_surfaces}) { foreach my $surface (map $_->clone, @{$layerm->fill_surfaces}) {