From 48e37f97b48839fb3f071920e5bccbeb22a61936 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Sun, 19 May 2013 15:33:54 +0200 Subject: [PATCH] Fixed bad copy and paste causing multiple extruders to throw an error --- lib/Slic3r/GCode/Layer.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Slic3r/GCode/Layer.pm b/lib/Slic3r/GCode/Layer.pm index 1cb0b90ba..bb74dcd29 100644 --- a/lib/Slic3r/GCode/Layer.pm +++ b/lib/Slic3r/GCode/Layer.pm @@ -1,6 +1,7 @@ package Slic3r::GCode::Layer; use Moo; +use List::Util qw(first); use Slic3r::Geometry qw(X Y unscale); has 'print' => (is => 'ro', required => 1, handles => [qw(extruders)]);