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).
using coord_t = int32_t;
#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;
#endif

View File

@ -13,7 +13,7 @@ Pointfs arrange(size_t total_parts, Vec2d* part, coordf_t dist, BoundingBoxf* bb
%code{%
Pointfs 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;
%};