typo - fix wrong bridge direction #621

fixes two out of three reported in #621 (but not the first one)
likely the same issue in #706 and #1003
This commit is contained in:
Mike Sheldrake 2013-02-27 15:16:07 -08:00
parent a6243124a9
commit 28467b68e0

View file

@ -538,7 +538,7 @@ sub process_bridges {
} elsif (@edges) {
my $center = Slic3r::Geometry::bounding_box_center([ map @$_, @edges ]);
my $x = my $y = 0;
foreach my $point (map @$, @edges) {
foreach my $point (map @$_, @edges) {
my $line = Slic3r::Line->new($center, $point);
my $dir = $line->direction;
my $len = $line->length;