Browse Source

Fixed regression in is_printable() - needs unit test

Alessandro Ranellucci 12 years ago
parent
commit
8ce7b13db5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Slic3r/Polygon.pm

+ 1 - 1
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 {