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:
Alessandro Ranellucci committed 2014-11-22 22:20:28 +01:00
1 parent 989ec5cf4d
commit 6010297465
3 files changed
+150 -9

No files matched your search

+2 -3
View File
@@ -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);