1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-27 10:35:51 +00:00

Refactor bridge flow to Slic3r::Flow::Bridge class

This commit is contained in:
Alessandro Ranellucci
2013-02-27 10:43:50 +01:00
parent d00c2882c4
commit a9090688f9
6 changed files with 29 additions and 18 deletions
+1 -1
View File
@@ -473,7 +473,7 @@ sub bridge_over_infill {
# exclude infill from the layers below if needed
# see discussion at https://github.com/alexrj/Slic3r/issues/240
{
my $excess = $layerm->infill_flow->bridge_width - $layerm->height;
my $excess = $layerm->extruders->{infill}->bridge_flow->width - $layerm->height;
for (my $i = $layer_id-1; $excess >= $self->layers->[$i]->height; $i--) {
Slic3r::debugf " skipping infill below those areas at layer %d\n", $i;
foreach my $lower_layerm (@{$self->layers->[$i]->regions}) {