mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-11 03:32:24 +00:00
Some minor fixes related to polyline refactoring
This commit is contained in:
1 parent
d63fd77da4
commit
4ade11b26e
3 files changed
+5
-5
No files matched your search
@@ -12,7 +12,7 @@ sub process_polyline {
|
||||
my $self = shift;
|
||||
my ($polyline, $bounding_box) = @_;
|
||||
|
||||
$_->[X] += ($bounding_box->[X1] + $bounding_box->[X2]/2) for @{$polyline->points};
|
||||
$_->[X] += ($bounding_box->[X1] + $bounding_box->[X2]/2) for @$polyline;
|
||||
}
|
||||
|
||||
1;
|
||||
Reference in new issue
Block a user