mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
addTexture -> add_texture
This commit is contained in:
parent
de7ec424c7
commit
94962c15d2
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user