1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-25 10:15:50 +00:00

Updated/fixed SectionCut

This commit is contained in:
Alessandro Ranellucci
2013-09-17 14:16:29 +02:00
parent 0c2bfab5f2
commit 2c1274e2d9
+2 -1
View File
@@ -121,7 +121,8 @@ sub _plot {
} }
} else { } else {
push @rectangles, map { 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], 'x' => $self->scale * unscale $_->[A][X],
'y' => $self->scale * $self->_y($layer->print_z), 'y' => $self->scale * $self->_y($layer->print_z),