From 525855dc7d03d6242ef4d07e59cc3029cca6fb7a Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Wed, 7 Dec 2011 20:15:08 +0100 Subject: [PATCH] Bugfix: fatal error when combining infills. #96 --- lib/Slic3r/Print.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Slic3r/Print.pm b/lib/Slic3r/Print.pm index 90b382fb7..72410d752 100644 --- a/lib/Slic3r/Print.pm +++ b/lib/Slic3r/Print.pm @@ -396,7 +396,7 @@ sub infill_every_layers { map $_->p, grep $_->surface_type eq 'internal' && $_->depth_layers == $depth, @{$layer->fill_surfaces}, ], - $intersection, + [ map @$_, @$intersection ], 1, )}; } @@ -418,7 +418,7 @@ sub infill_every_layers { map $_->p, grep $_->surface_type eq 'internal' && $_->depth_layers == $depth, @{$lower_layer->fill_surfaces}, ], - $intersection, + [ map @$_, @$intersection ], 1, )}; }