Fix crash when exporting SVG with support material. #2188

This commit is contained in:
Alessandro Ranellucci 2014-08-03 11:35:18 +02:00
parent 3e2799a4ee
commit 6f3bd72aeb

View File

@ -524,7 +524,7 @@ EOF
foreach my $expolygon (@current_layer_slices) {
my $intersection = intersection_ex(
[ map @$_, @previous_layer_slices ],
$expolygon,
[ @$expolygon ],
);
@$intersection
? push @supported_slices, $expolygon