Fixed regression introduced in 4d8757bf5d causing crash during support material generation

This commit is contained in:
Alessandro Ranellucci 2013-01-17 12:32:57 +01:00
parent 97f0b7a372
commit 92feebf5fe

View File

@ -566,7 +566,7 @@ sub generate_support_material {
# $queue[-1] contains the overhangs of the upper layer, regardless of any empty interface layers # $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 # $queue[0] contains the overhangs of the first upper layer above the empty interface layers
$layers_interfaces{$i} = diff_ex( $layers_interfaces{$i} = diff_ex(
[ @{ $queue[-1] || [] } ], [ map @$_, @{ $queue[-1] || [] } ],
[ map @$_, @current_layer_offsetted_slices ], [ map @$_, @current_layer_offsetted_slices ],
); );