Collect undetected lines (caused by dirty or non-manifold models), warn the user, post debug info. Includes some further ExPolygon refactoring.

This commit is contained in:
Alessandro Ranellucci 2011-11-11 10:21:48 +01:00
parent 91e250a2fd
commit fec816b065
9 changed files with 92 additions and 34 deletions

View file

@ -18,7 +18,7 @@ sub new {
map Slic3r::Polygon->new($_), @{$_[0]{holes}},
];
} else {
$self = [@_];
$self = [ map Slic3r::Polygon->new($_), @_ ];
}
bless $self, $class;
$self;
@ -29,7 +29,7 @@ sub new {
# right contours
sub make {
my $class = shift;
return map $class->new($_), @{ union_ex(\@_) };
return @{ union_ex(\@_) };
}
sub contour {