Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2015-02-22 19:09:08 +0300
committerAlessandro Ranellucci <aar@cpan.org>2015-02-22 19:09:08 +0300
commit69ea88473dc734ed609230a10ee021e818f46b5d (patch)
tree90f12e7d97eca47cff8937c1ffe04e5375ba3100 /lib/Slic3r/GUI/Plater/2D.pm
parentf8fa73fa4a168c4a0aed38c631ed64c6426bc0f3 (diff)
Workaround for the Clipper issue causing extra points in grid segments
Diffstat (limited to 'lib/Slic3r/GUI/Plater/2D.pm')
-rw-r--r--lib/Slic3r/GUI/Plater/2D.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Slic3r/GUI/Plater/2D.pm b/lib/Slic3r/GUI/Plater/2D.pm
index bf0dcbfba..788892050 100644
--- a/lib/Slic3r/GUI/Plater/2D.pm
+++ b/lib/Slic3r/GUI/Plater/2D.pm
@@ -276,7 +276,7 @@ sub update_bed_size {
push @polylines, Slic3r::Polyline->new([$bb->x_min, $y], [$bb->x_max, $y]);
}
@polylines = @{intersection_pl(\@polylines, [$polygon])};
- $self->{grid} = [ map $self->scaled_points_to_pixel(\@$_, 1), @polylines ];
+ $self->{grid} = [ map $self->scaled_points_to_pixel([ @$_[0,-1] ], 1), @polylines ];
}
}