Ported union_pt() to XS

This commit is contained in:
Alessandro Ranellucci committed 2013-08-26 18:37:19 +02:00
1 parent 443d4e52cb
commit 9cf831b9c5
7 files changed
+78 -42

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ sub fill_surface {
# generate paths from the outermost to the innermost, to avoid
# adhesion problems of the first central tiny loops
@loops = map Slic3r::Polygon->new(@$_),
reverse traverse_pt( union_pt(\@loops, PFT_EVENODD) );
reverse traverse_pt( union_pt(\@loops) );
# order paths using a nearest neighbor search
my @paths = ();