Skip to content

Commit

Permalink
Bugfix: more errors in infills after refactoring. #162
Browse files Browse the repository at this point in the history
  • Loading branch information
alranel committed Jan 11, 2012
1 parent 8735ac3 commit b605381
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Slic3r/Fill/Concentric.pm
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ sub fill_surface {
# clip the path to avoid the extruder to get exactly on the first point of the loop
$path->clip_end(scale $Slic3r::nozzle_diameter / 2);

push @paths, $path->p if @{$path->points};
push @paths, $path if @{$path->points};
}

return { flow_spacing => $flow_spacing }, @paths;
Expand Down
2 changes: 1 addition & 1 deletion lib/Slic3r/Fill/PlanePath.pm
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ sub fill_surface {
);
}

@paths = map $_->p, @paths;
@paths = map $_, @paths;

# paths must be rotated back
$self->rotate_points_back(\@paths, $rotate_vector);
Expand Down

0 comments on commit b605381

Please sign in to comment.