Fixed broken compilation of Perl bindings.

This commit is contained in:
Vojtech Bubnik 2020-06-16 14:39:08 +02:00
parent 851ebc7991
commit 81b809f2a1
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@
// Saves around 32% RAM after slicing step, 6.7% after G-code export (tested on PrusaSlicer 2.2.0 final). // Saves around 32% RAM after slicing step, 6.7% after G-code export (tested on PrusaSlicer 2.2.0 final).
using coord_t = int32_t; using coord_t = int32_t;
#else #else
//FIXME At least FillRectilinear2 requires coord_t to be 32bit. //FIXME At least FillRectilinear2 and std::boost Voronoi require coord_t to be 32bit.
typedef int64_t coord_t; typedef int64_t coord_t;
#endif #endif

View File

@ -13,7 +13,7 @@ Pointfs arrange(size_t total_parts, Vec2d* part, coordf_t dist, BoundingBoxf* bb
%code{% %code{%
Pointfs points; Pointfs points;
if (! Slic3r::Geometry::arrange(total_parts, *part, dist, bb, points)) if (! Slic3r::Geometry::arrange(total_parts, *part, dist, bb, points))
CONFESS(PRINTF_ZU " parts won't fit in your print area!\n", total_parts); CONFESS("%zu parts won't fit in your print area!\n", total_parts);
RETVAL = points; RETVAL = points;
%}; %};