py3: Mesh: fix py3 Long/Int problem with python2

This commit is contained in:
looooo
2017-02-23 18:53:39 +01:00
committed by wmayer
parent 6c8c3dc71e
commit d5348c60bc
4 changed files with 3 additions and 30 deletions

View File

@@ -150,7 +150,7 @@ private:
std::vector<unsigned long> segm;
segm.reserve(list.size());
for (unsigned int i=0; i<list.size(); i++) {
segm.push_back((int)Py::Long(list[i]));
segm.push_back((long)Py::Long(list[i]));
}
std::list<std::vector<Base::Vector3f> > bounds;