Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/xs
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2019-04-16 11:39:17 +0300
committerbubnikv <bubnikv@gmail.com>2019-04-16 11:39:17 +0300
commit7f4e6328fac3a03b255de5341c5bf9271d186c97 (patch)
treebad938dfecf506ebd2664da4ab502ab31dd67059 /xs
parent63ce3c3150fcf8bf4d068894857acdce49fbc5c6 (diff)
Fixed trianglemeshslicer perl bindings, thus the unit tests.
Diffstat (limited to 'xs')
-rw-r--r--xs/xsp/TriangleMesh.xsp2
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);