Fixed trianglemeshslicer perl bindings, thus the unit tests.
This commit is contained in:
parent
63ce3c3150
commit
7f4e6328fa
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user