Fixed Perl bindings.

This commit is contained in:
bubnikv 2019-03-01 18:09:42 +01:00
parent 44c64f4a98
commit 9996a01c84

View File

@ -185,7 +185,7 @@ TriangleMesh::slice(z)
std::vector<ExPolygons> layers; std::vector<ExPolygons> layers;
TriangleMeshSlicer mslicer(THIS); TriangleMeshSlicer mslicer(THIS);
mslicer.slice(z_f, &layers, [](){}); mslicer.slice(z_f, 0.049f, &layers, [](){});
AV* layers_av = newAV(); AV* layers_av = newAV();
size_t len = layers.size(); size_t len = layers.size();