Fixed regression causing random loss of infill because of corrupt thin polygons returned by Clipper. #2539

This commit is contained in:
Alessandro Ranellucci 2015-01-30 10:12:31 +01:00
parent 9ad5d9bb3d
commit fe4f79ba90

View file

@ -578,6 +578,7 @@ sub detect_surfaces_type {
my $diff = diff(
[ map @$_, @$subject ],
[ map @$_, @$clip ],
1,
);
# collapse very narrow parts (using the safety offset in the diff is not enough)