From c33333cfd829208234f725546d0485a0878e0e73 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sun, 23 Sep 2012 14:51:03 +0200 Subject: [PATCH] Fix t/fill.t --- t/fill.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/t/fill.t b/t/fill.t index dd8cdf938..27b9da41d 100644 --- a/t/fill.t +++ b/t/fill.t @@ -16,7 +16,9 @@ use Slic3r::Surface qw(:types); sub scale_points (@) { map [scale $_->[X], scale $_->[Y]], @_ } { - my $filler = Slic3r::Fill::Rectilinear->new(print => Slic3r::Print->new); + my $print = Slic3r::Print->new; + $print->init_extruders; + my $filler = Slic3r::Fill::Rectilinear->new(print => $print); my $surface_width = 250; my $distance = $filler->adjust_solid_spacing( width => $surface_width,