From 28467b68e06600baaf3f9daf18d6b1a658d0dd00 Mon Sep 17 00:00:00 2001
From: Mike Sheldrake <boards@sheldrake.net>
Date: Wed, 27 Feb 2013 15:16:07 -0800
Subject: [PATCH] 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
---
 lib/Slic3r/Layer/Region.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Slic3r/Layer/Region.pm b/lib/Slic3r/Layer/Region.pm
index d1fd5b9c6..ee3023277 100644
--- a/lib/Slic3r/Layer/Region.pm
+++ b/lib/Slic3r/Layer/Region.pm
@@ -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;