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 7531f02cd0
commit 4f2531643a

View File

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