mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 15:21:21 -06:00
All std::string variables are now supposed to be UTF-8 encoded. We now embed the std::string typemaps in order to do this. #2282
This commit is contained in:
parent
989ec5cf4d
commit
6010297465
3 changed files with 150 additions and 9 deletions
|
@ -149,11 +149,10 @@ TriangleMesh::size()
|
|||
|
||||
SV*
|
||||
TriangleMesh::slice(z)
|
||||
std::vector<double>* z
|
||||
std::vector<double> z
|
||||
CODE:
|
||||
// convert doubles to floats
|
||||
std::vector<float> z_f(z->begin(), z->end());
|
||||
delete z;
|
||||
std::vector<float> z_f(z.begin(), z.end());
|
||||
|
||||
std::vector<ExPolygons> layers;
|
||||
TriangleMeshSlicer mslicer(THIS);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue