Skip to content

Commit a13e1d6

Browse files
committed
Update python binding to match new API.
1 parent 4f992f4 commit a13e1d6

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

python/main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ pyLoadObj(PyObject* self, PyObject* args)
4444
if(!PyArg_ParseTuple(args, "s", &filename))
4545
return NULL;
4646

47-
tinyobj::LoadObj(shapes, materials, filename);
47+
std::string err;
48+
tinyobj::LoadObj(shapes, materials, err, filename);
4849

4950
pyshapes = PyDict_New();
5051
pymaterials = PyDict_New();

0 commit comments

Comments
 (0)