From b319dc9361727efba91df01318ae3064e9a397c8 Mon Sep 17 00:00:00 2001 From: "Y. Sapir" Date: Tue, 8 Apr 2014 03:36:39 +0300 Subject: [PATCH] Correctly convert extruder_offset to Point object before passing to C++ code. --- 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 18add2e82..4ad9bb29f 100644 --- a/xs/lib/Slic3r/XS.pm +++ b/xs/lib/Slic3r/XS.pm @@ -226,7 +226,7 @@ package Slic3r::Extruder; sub new { my ($class, %args) = @_; - $args{extruder_offset} = Slic3r::Point->new($args{extruder_offset}); + $args{extruder_offset} = Slic3r::Point->new(@{$args{extruder_offset}}); return $class->_new(@args{qw( id use_relative_e_distances