From 00acd321203837636b64c4d7eb0c1be0effbd9f2 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sat, 2 May 2015 21:46:08 +0200 Subject: [PATCH] Fix failing test. #2806 --- lib/Slic3r/Model.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Slic3r/Model.pm b/lib/Slic3r/Model.pm index 63224727e..162c3a3d1 100644 --- a/lib/Slic3r/Model.pm +++ b/lib/Slic3r/Model.pm @@ -150,6 +150,8 @@ sub duplicate { sub _arrange { my ($self, $sizes, $distance, $bb) = @_; + + $bb //= Slic3r::Geometry::BoundingBoxf->new; # we supply unscaled data to arrange() return @{Slic3r::Geometry::arrange(