Fix for rectilinear infill failing in plates with new caching
This commit is contained in:
parent
0118c7257f
commit
6842114d3d
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,8 @@ sub fill_surface {
|
|||
|
||||
if (!$self->cache->{$cache_id}) {
|
||||
# compute bounding box
|
||||
my $bounding_box = $self->bounding_box;
|
||||
my $bounding_box = [ @{$self->bounding_box} ]; # clone
|
||||
$bounding_box->[$_] = 0 for X1, Y1;
|
||||
{
|
||||
my $bb_expolygon = Slic3r::ExPolygon->new(Slic3r::Polygon->new_from_bounding_box($bounding_box));
|
||||
$self->rotate_points($bb_expolygon, $rotate_vector);
|
||||
|
|
Loading…
Reference in a new issue