From ed58f35fe52919fcc7d0cb2bc57d48a57c7b0912 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sat, 24 May 2014 00:09:04 +0200 Subject: [PATCH] Revert "Fix bad test". Test was actually correct. Clipper's still slightly buggy since it splits polylines This reverts commit bf2af85da591b61d679b15726e6a9c029e9cc548. --- xs/t/11_clipper.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xs/t/11_clipper.t b/xs/t/11_clipper.t index eb7e3d17..f2f7686a 100644 --- a/xs/t/11_clipper.t +++ b/xs/t/11_clipper.t @@ -163,7 +163,7 @@ if (0) { # Clipper does not preserve polyline orientation Slic3r::Polygon->new([75200000,45200000],[54800000,45200000],[54800000,24800000],[75200000,24800000]), ]; my $result = Slic3r::Geometry::Clipper::intersection_pl([$subject], $clip); - is scalar(@$result), 2, 'intersection_pl - result is not empty'; + is scalar(@$result), 1, 'intersection_pl - result is not empty'; } {