From 5435d88924592f22884da83b61377d9cfb9a9be9 Mon Sep 17 00:00:00 2001 From: Alessandro Ranellucci Date: Fri, 8 Aug 2014 02:56:25 +0200 Subject: [PATCH] Bugfix: wrong arguments supplied to Flow constructor (rarely used case) --- xs/lib/Slic3r/XS.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xs/lib/Slic3r/XS.pm b/xs/lib/Slic3r/XS.pm index bf549db8f..a1f4a02b8 100644 --- a/xs/lib/Slic3r/XS.pm +++ b/xs/lib/Slic3r/XS.pm @@ -119,7 +119,7 @@ sub new { my ($class, %args) = @_; my $self = $class->_new( - @args{qw(width spacing nozzle_diameter)}, + @args{qw(width height nozzle_diameter)}, ); $self->set_bridge($args{bridge} // 0); return $self;