addTexture -> add_texture

This commit is contained in:
rdb 2014-02-10 09:50:37 +00:00
parent de7ec424c7
commit 94962c15d2

View File

@ -76,7 +76,7 @@ TextureCollection(PyObject *self, PyObject *sequence) {
if (item == NULL) { if (item == NULL) {
return; return;
} }
PyObject *result = PyObject_CallMethod(self, (char *)"addTexture", (char *)"O", item); PyObject *result = PyObject_CallMethod(self, (char *)"add_texture", (char *)"O", item);
Py_DECREF(item); Py_DECREF(item);
if (result == NULL) { if (result == NULL) {
// Unable to add item--probably it wasn't of the appropriate type. // Unable to add item--probably it wasn't of the appropriate type.