From be8970b497e7122e3e692fb98fc0cbeb3dc27941 Mon Sep 17 00:00:00 2001
From: Alessandro Ranellucci <aar@cpan.org>
Date: Tue, 19 Jun 2012 18:49:46 +0200
Subject: [PATCH] Fixed regression causing infill lines not being always
 connected near perimeters

---
 lib/Slic3r/Fill/Rectilinear.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Slic3r/Fill/Rectilinear.pm b/lib/Slic3r/Fill/Rectilinear.pm
index b13342436..281eaa311 100644
--- a/lib/Slic3r/Fill/Rectilinear.pm
+++ b/lib/Slic3r/Fill/Rectilinear.pm
@@ -62,7 +62,7 @@ sub fill_surface {
         );
         @paths = ();
         
-        my $tolerance = scale epsilon;
+        my $tolerance = 10 * scale epsilon;
         my $diagonal_distance = $distance_between_lines * 5;
         my $can_connect = $is_line_pattern
             ? sub {