Fixed trianglemeshslicer perl bindings, thus the unit tests.

This commit is contained in:
bubnikv 2019-04-16 10:39:17 +02:00
parent 63ce3c3150
commit 7f4e6328fa

View File

@ -180,6 +180,8 @@ SV*
TriangleMesh::slice(z)
std::vector<double> z
CODE:
THIS->require_shared_vertices(); // TriangleMeshSlicer needs this
// convert doubles to floats
std::vector<float> z_f = cast<float>(z);