From 8ce7b13db525b0d247d46c7eee587f654c9e22d0 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Tue, 26 Feb 2013 20:54:40 +0100 Subject: [PATCH] Fixed regression in is_printable() - needs unit test --- lib/Slic3r/Polygon.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/Polygon.pm b/lib/Slic3r/Polygon.pm index da23e823a..0f3827381 100644 --- a/lib/Slic3r/Polygon.pm +++ b/lib/Slic3r/Polygon.pm @@ -129,7 +129,7 @@ sub is_printable { # detect them and we would be discarding them. my $p = $self->clone; $p->make_counter_clockwise; - return $p->offset($flow->scaled_width / 2) ? 1 : 0; + return $p->offset(-$flow->scaled_width / 2) ? 1 : 0; } sub is_valid {