mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 19:12:38 -07:00
Align rectilinear and line infill across layers (new implementation). #712
This commit is contained in:
@@ -679,10 +679,10 @@ sub bounding_box {
|
||||
}
|
||||
|
||||
sub bounding_box_center {
|
||||
my @bounding_box = bounding_box(@_);
|
||||
my ($bounding_box) = @_;
|
||||
return Slic3r::Point->new(
|
||||
($bounding_box[X2] + $bounding_box[X1]) / 2,
|
||||
($bounding_box[Y2] + $bounding_box[Y1]) / 2,
|
||||
($bounding_box->[X2] + $bounding_box->[X1]) / 2,
|
||||
($bounding_box->[Y2] + $bounding_box->[Y1]) / 2,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user