1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-26 10:25:49 +00:00

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