Treating "reverse bridges" as bridges should not change the way they're infilled or the chosen flow width

This commit is contained in:
Alessandro Ranellucci 2011-11-18 09:54:28 +01:00
parent 1a066caecc
commit 1ef4d006a0

View File

@ -66,7 +66,8 @@ sub make_fill {
# force 100% density and rectilinear fill for external surfaces # force 100% density and rectilinear fill for external surfaces
if ($surface->surface_type ne 'internal') { if ($surface->surface_type ne 'internal') {
my $is_bridge = $surface->isa('Slic3r::Surface::Bridge'); my $is_bridge = $surface->isa('Slic3r::Surface::Bridge')
&& $surface->surface_type eq 'bottom';
$density = 1; $density = 1;
$filler = $is_bridge ? 'rectilinear' : $Slic3r::solid_fill_pattern; $filler = $is_bridge ? 'rectilinear' : $Slic3r::solid_fill_pattern;
$flow_width = $Slic3r::nozzle_diameter if $is_bridge; $flow_width = $Slic3r::nozzle_diameter if $is_bridge;