From 94962c15d2772425d830c6fefd0e084509c56f87 Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 10 Feb 2014 09:50:37 +0000 Subject: [PATCH] addTexture -> add_texture --- panda/src/gobj/textureCollection.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/panda/src/gobj/textureCollection.cxx b/panda/src/gobj/textureCollection.cxx index 9fd40bc4b4..6bddb5f199 100644 --- a/panda/src/gobj/textureCollection.cxx +++ b/panda/src/gobj/textureCollection.cxx @@ -76,7 +76,7 @@ TextureCollection(PyObject *self, PyObject *sequence) { if (item == NULL) { 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); if (result == NULL) { // Unable to add item--probably it wasn't of the appropriate type.