Updated/fixed SectionCut

svg-paths
Alessandro Ranellucci 2013-09-17 14:16:29 +02:00
parent 0c2bfab5f2
commit 2c1274e2d9
1 changed files with 2 additions and 1 deletions

View File

@ -121,7 +121,8 @@ sub _plot {
}
} else {
push @rectangles, map {
my $height = $path->height // $layer->height;
my $height = $path->height;
$height = $layer->height if $height == -1;
{
'x' => $self->scale * unscale $_->[A][X],
'y' => $self->scale * $self->_y($layer->print_z),