Bugfix: fatal error when combining infills. #96

This commit is contained in:
Alessandro Ranellucci 2011-12-07 20:15:08 +01:00
parent 9f6be233f8
commit 525855dc7d

View File

@ -396,7 +396,7 @@ sub infill_every_layers {
map $_->p, grep $_->surface_type eq 'internal' && $_->depth_layers == $depth, map $_->p, grep $_->surface_type eq 'internal' && $_->depth_layers == $depth,
@{$layer->fill_surfaces}, @{$layer->fill_surfaces},
], ],
$intersection, [ map @$_, @$intersection ],
1, 1,
)}; )};
} }
@ -418,7 +418,7 @@ sub infill_every_layers {
map $_->p, grep $_->surface_type eq 'internal' && $_->depth_layers == $depth, map $_->p, grep $_->surface_type eq 'internal' && $_->depth_layers == $depth,
@{$lower_layer->fill_surfaces}, @{$lower_layer->fill_surfaces},
], ],
$intersection, [ map @$_, @$intersection ],
1, 1,
)}; )};
} }