mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 11:53:48 +00:00
Some minor fixes related to polyline refactoring
This commit is contained in:
@@ -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