mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-13 23:15:58 +08:00
Fixed minor regression in cut dialog
This commit is contained in:
parent
71209711b3
commit
f67b863e64
@ -203,7 +203,7 @@ sub SetCuttingPlane {
|
|||||||
my @verts = ();
|
my @verts = ();
|
||||||
foreach my $volume (@{$self->volumes}) {
|
foreach my $volume (@{$self->volumes}) {
|
||||||
foreach my $volume (@{$self->volumes}) {
|
foreach my $volume (@{$self->volumes}) {
|
||||||
my $expolygons = $volume->{mesh}->slice([ $z ])->[0];
|
my $expolygons = $volume->{mesh}->slice([ $z + $volume->{z_min} ])->[0];
|
||||||
$expolygons = offset_ex([ map @$_, @$expolygons ], scale 0.1);
|
$expolygons = offset_ex([ map @$_, @$expolygons ], scale 0.1);
|
||||||
|
|
||||||
foreach my $line (map @{$_->lines}, map @$_, @$expolygons) {
|
foreach my $line (map @{$_->lines}, map @$_, @$expolygons) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user