mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-14 04:11:47 +08:00
Fix failing test. #2806
This commit is contained in:
parent
bf541a1fed
commit
00acd32120
@ -151,6 +151,8 @@ sub duplicate {
|
|||||||
sub _arrange {
|
sub _arrange {
|
||||||
my ($self, $sizes, $distance, $bb) = @_;
|
my ($self, $sizes, $distance, $bb) = @_;
|
||||||
|
|
||||||
|
$bb //= Slic3r::Geometry::BoundingBoxf->new;
|
||||||
|
|
||||||
# we supply unscaled data to arrange()
|
# we supply unscaled data to arrange()
|
||||||
return @{Slic3r::Geometry::arrange(
|
return @{Slic3r::Geometry::arrange(
|
||||||
scalar(@$sizes), # number of parts
|
scalar(@$sizes), # number of parts
|
||||||
|
Loading…
x
Reference in New Issue
Block a user