diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2015-12-01 23:51:16 +0300 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2015-12-01 23:51:16 +0300 |
commit | dfce3a3138798a2592fa20820f1a4ed1e3761351 (patch) | |
tree | a416c05ec13ecea87f1f72ed4bdc05f228813ebe /xs/src/libslic3r/Geometry.cpp | |
parent | 5655f786f4d4342acdc4c8fb128e09dc6e305646 (diff) |
Ported _arrange() and arrange_object() to XS
Diffstat (limited to 'xs/src/libslic3r/Geometry.cpp')
-rw-r--r-- | xs/src/libslic3r/Geometry.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/xs/src/libslic3r/Geometry.cpp b/xs/src/libslic3r/Geometry.cpp index 827029aa0..62a6d8f7c 100644 --- a/xs/src/libslic3r/Geometry.cpp +++ b/xs/src/libslic3r/Geometry.cpp @@ -186,7 +186,6 @@ arrange(size_t total_parts, Pointf part, coordf_t dist, const BoundingBoxf &bb) // this is how many cells we have available into which to put parts size_t cellw = floor((area.x + dist) / part.x); size_t cellh = floor((area.x + dist) / part.x); - if (total_parts > (cellw * cellh)) CONFESS("%zu parts won't fit in your print area!\n", total_parts); |