From 92feebf5fe474bb9c46f2033d6d26302186e496a Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Thu, 17 Jan 2013 12:32:57 +0100 Subject: [PATCH] Fixed regression introduced in 4d8757bf5da269b35133c6d6be3f06c3465b9ec9 causing crash during support material generation --- lib/Slic3r/Print/Object.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/Print/Object.pm b/lib/Slic3r/Print/Object.pm index e9ca00428..1457a66ec 100644 --- a/lib/Slic3r/Print/Object.pm +++ b/lib/Slic3r/Print/Object.pm @@ -566,7 +566,7 @@ sub generate_support_material { # $queue[-1] contains the overhangs of the upper layer, regardless of any empty interface layers # $queue[0] contains the overhangs of the first upper layer above the empty interface layers $layers_interfaces{$i} = diff_ex( - [ @{ $queue[-1] || [] } ], + [ map @$_, @{ $queue[-1] || [] } ], [ map @$_, @current_layer_offsetted_slices ], );