mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-07-03 17:05:43 +02:00
Fix for rectilinear infill failing in plates with new caching
This commit is contained in:
@@ -30,7 +30,8 @@ sub fill_surface {
|
|||||||
|
|
||||||
if (!$self->cache->{$cache_id}) {
|
if (!$self->cache->{$cache_id}) {
|
||||||
# compute bounding box
|
# 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));
|
my $bb_expolygon = Slic3r::ExPolygon->new(Slic3r::Polygon->new_from_bounding_box($bounding_box));
|
||||||
$self->rotate_points($bb_expolygon, $rotate_vector);
|
$self->rotate_points($bb_expolygon, $rotate_vector);
|
||||||
|
|||||||
Reference in New Issue
Block a user