Previous commit about bridge spacing was incomplete

degen-loop-screen
Alessandro Ranellucci 2012-11-16 18:10:09 +01:00
parent a81377d684
commit 86f5cb8654
3 changed files with 3 additions and 2 deletions

View File

@ -152,6 +152,7 @@ sub make_fill {
$surface,
density => $density,
flow_spacing => $flow_spacing,
dont_adjust => $is_bridge,
);
}
my $params = shift @paths;

View File

@ -19,7 +19,7 @@ sub fill_surface {
my $distance = $min_spacing / $params{density};
my $flow_spacing = $params{flow_spacing};
if ($params{density} == 1) {
if ($params{density} == 1 && !$params{dont_adjust) {
$distance = $self->adjust_solid_spacing(
width => $bounding_box->[X2] - $bounding_box->[X1],
distance => $distance,

View File

@ -23,7 +23,7 @@ sub fill_surface {
my $line_oscillation = $distance_between_lines - $min_spacing;
my $flow_spacing = $params{flow_spacing};
if ($params{density} == 1) {
if ($params{density} == 1 && !$params{dont_adjust}) {
$distance_between_lines = $self->adjust_solid_spacing(
width => $bounding_box->[X2] - $bounding_box->[X1],
distance => $distance_between_lines,