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); 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