From d9646ff6bac71fe2385624fdf805f01e4fd74729 Mon Sep 17 00:00:00 2001 From: Anders Sundman Date: Wed, 4 Sep 2013 22:41:25 +0200 Subject: [PATCH 1/2] Fixed: Missing include directive --- xs/src/ZTable.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xs/src/ZTable.hpp b/xs/src/ZTable.hpp index 89ce3f3879..4faa559410 100644 --- a/xs/src/ZTable.hpp +++ b/xs/src/ZTable.hpp @@ -1,6 +1,8 @@ #ifndef slic3r_ZTable_hpp_ #define slic3r_ZTable_hpp_ +#include + namespace Slic3r { class ZTable From 73878e021841b0499ec16b47507e48c92ea4bd7e Mon Sep 17 00:00:00 2001 From: Anders Sundman Date: Wed, 4 Sep 2013 22:45:19 +0200 Subject: [PATCH 2/2] The 'use' prevented the build. There is probably a reason for this line though. --- lib/Slic3r/Geometry.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/Geometry.pm b/lib/Slic3r/Geometry.pm index 93b0924d88..cb452493a9 100644 --- a/lib/Slic3r/Geometry.pm +++ b/lib/Slic3r/Geometry.pm @@ -657,7 +657,7 @@ sub _line_intersection2 { # 2D sub bounding_box { my ($points) = @_; - use XXX; ZZZ "not" if ref($points->[0]) eq 'ARRAY'; + #use XXX; ZZZ "not" if ref($points->[0]) eq 'ARRAY'; my @x = map $_->x, @$points; my @y = map $_->y, @$points; #,, my @bb = (undef, undef, undef, undef);