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 2014-11-22 22:20:28 +01:00
parent 989ec5cf4d
commit 6010297465
3 changed files with 150 additions and 9 deletions

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);