Factor out some hard-coded settings

This commit is contained in:
Alessandro Ranellucci committed 2012-10-29 00:23:33 +01:00
1 parent 1ecadc10fb
commit f2389682b6
5 files changed
+6 -4

No files matched your search

+1 -1
View File
@@ -31,7 +31,7 @@ sub fill_surface {
$flow_spacing = unscale $distance_between_lines;
}
my $overlap_distance = ($self->layer ? $self->layer->flow->scaled_width : $Slic3r::flow->scaled_width) * 0.4;
my $overlap_distance = ($self->layer ? $self->layer->flow->scaled_width : $Slic3r::flow->scaled_width) * &Slic3r::PERIMETER_INFILL_OVERLAP_OVER_WIDTH;
my $x = $bounding_box->[X1];
my $is_line_pattern = $self->isa('Slic3r::Fill::Line');