diff options
author | bubnikv <bubnikv@gmail.com> | 2019-04-16 11:39:17 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2019-04-16 11:39:17 +0300 |
commit | 7f4e6328fac3a03b255de5341c5bf9271d186c97 (patch) | |
tree | bad938dfecf506ebd2664da4ab502ab31dd67059 /xs | |
parent | 63ce3c3150fcf8bf4d068894857acdce49fbc5c6 (diff) |
Fixed trianglemeshslicer perl bindings, thus the unit tests.
Diffstat (limited to 'xs')
-rw-r--r-- | xs/xsp/TriangleMesh.xsp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xs/xsp/TriangleMesh.xsp b/xs/xsp/TriangleMesh.xsp index edfb4a198..be2239c05 100644 --- a/xs/xsp/TriangleMesh.xsp +++ b/xs/xsp/TriangleMesh.xsp @@ -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); |