Fixed regression causing fatal errors with many objects. #394

This commit is contained in:
Alessandro Ranellucci 2012-05-29 14:52:39 +02:00
parent acf4f032be
commit d8d2f73aff
2 changed files with 16 additions and 12 deletions

View file

@ -116,7 +116,7 @@ sub add_facet {
sub intersect {
add_facet(@_);
return $mesh->intersect_facet($#{$mesh->facets}, $z);
return map Slic3r::TriangleMesh::unpack_line($_), $mesh->intersect_facet($#{$mesh->facets}, $z);
}
sub lines {