mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 22:59:04 +08:00
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…
x
Reference in New Issue
Block a user