Updated/fixed SectionCut

This commit is contained in:
Alessandro Ranellucci 2013-09-17 14:16:29 +02:00
parent 0c2bfab5f2
commit 2c1274e2d9

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),